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 08:19:32 +01:00
# URL: https://www.gtk.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
2016-09-23 11:47:11 +02:00
# Depends on: libffi-32 libpcre-32 python-32 util-linux-32 glib
name=glib-32
2017-04-12 10:08:48 +02:00
version=2.52.1
release=1
2017-04-12 10:08:48 +02:00
source=(https://download.gnome.org/sources/glib/${version:0:4}/${name%-*}-$version.tar.xz)
build() {
2017-04-12 10:08:48 +02:00
cd ${name%-*}-$version
2013-05-16 18:03:31 +02: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 01:12:59 +01:00
rm -rf $PKG/usr/{bin,include,share}
}