summaryrefslogtreecommitdiff
path: root/glib-32/Pkgfile
blob: 3bfbdbb04ef4900266a3e2dcaf40d581e5216079 (plain)
    1 # Description: Low-level data structure handling, portability wrappers, and interfaces for runtime functionality
    2 # URL: https://www.gtk.org/
    3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
    4 # Depends on: libffi-32 libpcre-32 python-32 util-linux-32 glib
    5 
    6 name=glib-32
    7 version=2.58.2
    8 release=1
    9 source=(https://download.gnome.org/sources/glib/${version:0:4}/${name%-*}-$version.tar.xz)
   10 
   11 build() {
   12 	cd ${name%-*}-$version
   13 
   14 	./autogen.sh
   15 	./configure \
   16 		--prefix=/usr \
   17 		--libdir=/usr/lib32 \
   18 		--disable-man \
   19 		--with-pcre=system \
   20 		--with-runtime-libdir=../../lib32 \
   21 		--with-gio-module-dir=/lib32/gio/modules
   22 
   23 	make
   24 	make -j 1 DESTDIR=$PKG install
   25 
   26 	rm -rf $PKG/usr/share/{gtk-doc,locale}
   27 	rm -rf $PKG/usr/share/bash_completion
   28 	rm -rf $PKG/usr/{bin,include,share}
   29 }

Generated by cgit