compat-32/glib-32/Pkgfile
2017-10-04 19:07:52 +11:00

30 lines
772 B
Plaintext

# Description: Low-level data structure handling, portability wrappers, and interfaces for runtime functionality
# URL: https://www.gtk.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: libffi-32 libpcre-32 python-32 util-linux-32 glib
name=glib-32
version=2.54.1
release=1
source=(https://download.gnome.org/sources/glib/${version:0:4}/${name%-*}-$version.tar.xz)
build() {
cd ${name%-*}-$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}
}