compat-32/glib-32/Pkgfile
2016-03-26 11:12:59 +11:00

30 lines
739 B
Plaintext

# Description: Low-level data structure handling, portability wrappers, and interfaces for runtime functionality
# URL: http://www.gtk.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: libpcre-32 libffi-32 python-32
name=glib-32
version=2.48.0
release=1
source=(http://download.gnome.org/sources/glib/${version:0:4}/glib-$version.tar.xz)
build() {
cd glib-$version
aclocal
automake
./configure --prefix=/usr \
--libdir=/usr/lib32 \
--with-pcre=system \
--with-runtime-libdir=../../lib32 \
--with-gio-module-dir=/lib32/gio/modules
make
make -j 1 DESTDIR=$PKG install
rm -rf $PKG/usr/share/{gtk-doc,locale}
rm -rf $PKG/usr/share/bash_completion
rm -rf $PKG/usr/{bin,include,share}
}