2012-06-17 19:24:47 +02:00
|
|
|
# Description: Low-level data structure handling, portability wrappers, and interfaces for runtime functionality
|
|
|
|
# URL: http://www.gtk.org/
|
2012-06-19 01:45:33 +02:00
|
|
|
# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
|
2012-06-17 19:27:53 +02:00
|
|
|
# Depends on: libpcre libffi python
|
2012-06-17 19:24:47 +02:00
|
|
|
|
|
|
|
name=glib
|
2013-06-18 20:14:39 +02:00
|
|
|
version=2.36.3
|
2013-04-16 20:51:01 +02:00
|
|
|
release=1
|
2013-04-06 11:24:19 +02:00
|
|
|
source=(http://download.gnome.org/sources/$name/2.36/$name-$version.tar.xz)
|
2012-06-17 19:24:47 +02:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
2013-05-16 12:28:01 +02:00
|
|
|
|
|
|
|
aclocal
|
|
|
|
automake
|
|
|
|
|
2012-06-17 19:24:47 +02:00
|
|
|
./configure --prefix=/usr \
|
2013-04-05 20:27:22 +02:00
|
|
|
--disable-man \
|
2013-04-06 11:24:19 +02:00
|
|
|
--with-pcre=system
|
2012-06-17 19:24:47 +02:00
|
|
|
make
|
|
|
|
make -j1 DESTDIR=$PKG install
|
2013-04-06 11:24:19 +02:00
|
|
|
|
|
|
|
install -d $PKG/usr/man/man1
|
|
|
|
find docs -name '*.1' -exec install -m 0644 {} $PKG/usr/man/man1 \;
|
|
|
|
|
2012-06-17 19:24:47 +02:00
|
|
|
rm -rf $PKG/usr/share/{gtk-doc,locale}
|
2012-07-15 12:06:13 +02:00
|
|
|
rm -r $PKG/usr/share/bash-completion
|
2012-06-17 19:24:47 +02:00
|
|
|
}
|