compat-32/glib-32/Pkgfile

30 lines
772 B
Plaintext
Raw Normal View History

# Description: Low-level data structure handling, portability wrappers, and interfaces for runtime functionality
2017-01-28 18:19:32 +11:00
# URL: https://www.gtk.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
2016-09-23 19:47:11 +10:00
# Depends on: libffi-32 libpcre-32 python-32 util-linux-32 glib
name=glib-32
2018-04-13 01:20:37 +10:00
version=2.56.1
release=1
2017-04-12 18:08:48 +10:00
source=(https://download.gnome.org/sources/glib/${version:0:4}/${name%-*}-$version.tar.xz)
build() {
2017-04-12 18:08:48 +10:00
cd ${name%-*}-$version
2013-05-17 02:03:31 +10:00
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
2016-03-26 11:12:59 +11:00
rm -rf $PKG/usr/{bin,include,share}
}