opt/glib/Pkgfile

24 lines
745 B
Plaintext

# Description: Low-level data structure handling, portability wrappers, and interfaces for runtime functionality
# URL: http://www.gtk.org/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: libpcre libffi
name=glib
version=2.32.3
release=1
source=(http://download.gnome.org/sources/$name/2.32/$name-$version.tar.xz)
build () {
cd $name-$version
./configure --prefix=/usr \
--mandir=/usr/man \
--with-pcre=system \
--with-runtime-libdir=../../lib \
--with-gio-module-dir=/lib/gio/modules
make
make -j1 DESTDIR=$PKG install
rm -rf $PKG/usr/share/{gtk-doc,locale}
rm -r $PKG/usr/etc/bash_completion.d
rmdir $PKG/usr/etc
}