opt/glib/Pkgfile
2013-04-05 20:27:35 +02:00

37 lines
1.6 KiB
Plaintext

# Description: Low-level data structure handling, portability wrappers, and interfaces for runtime functionality
# URL: http://www.gtk.org/
# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
# Depends on: libpcre libffi python
name=glib
version=2.36.0
release=2
source=(http://download.gnome.org/sources/$name/2.36/$name-$version.tar.xz \
http://crux.nu/~rehabdoll/distfiles/glib-man/2.36/glib-gettextize.1.gz \
http://crux.nu/~rehabdoll/distfiles/glib-man/2.36/glib-genmarshal.1.gz \
http://crux.nu/~rehabdoll/distfiles/glib-man/2.36/gtester.1.gz \
http://crux.nu/~rehabdoll/distfiles/glib-man/2.36/gdbus.1.gz \
http://crux.nu/~rehabdoll/distfiles/glib-man/2.36/gsettings.1.gz \
http://crux.nu/~rehabdoll/distfiles/glib-man/2.36/gio-querymodules.1.gz \
http://crux.nu/~rehabdoll/distfiles/glib-man/2.36/gresource.1.gz \
http://crux.nu/~rehabdoll/distfiles/glib-man/2.36/glib-compile-schemas.1.gz \
http://crux.nu/~rehabdoll/distfiles/glib-man/2.36/glib-mkenums.1.gz \
http://crux.nu/~rehabdoll/distfiles/glib-man/2.36/gobject-query.1.gz \
http://crux.nu/~rehabdoll/distfiles/glib-man/2.36/gdbus-codegen.1.gz \
http://crux.nu/~rehabdoll/distfiles/glib-man/2.36/gtester-report.1.gz \
http://crux.nu/~rehabdoll/distfiles/glib-man/2.36/glib-compile-resources.1.gz)
build () {
cd $name-$version
./configure --prefix=/usr \
--disable-man \
--with-pcre=system
make
make -j1 DESTDIR=$PKG install
rm -rf $PKG/usr/share/{gtk-doc,locale}
rm -r $PKG/usr/share/bash-completion
mkdir -p $PKG/usr/man/man1
install -m 644 $SRC/*.1.gz $PKG/usr/man/man1/
}