summaryrefslogtreecommitdiffstats
path: root/extra/glib1/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-10-15 15:33:05 +0200
committertnut <tnut at nutyx dot com>2011-10-15 15:33:05 +0200
commitca617866a42a91c0240f92f858f061f6661b027b (patch)
tree4c111f9f8f428a03754eecbd7ccf16a262deb8a2 /extra/glib1/Pkgfile
parent94600ff8cabde67f7dec5a94b02956898bdede7a (diff)
downloadnutyx-extra-ca617866a42a91c0240f92f858f061f6661b027b.tar.gz
nutyx-extra-ca617866a42a91c0240f92f858f061f6661b027b.tar.bz2
nutyx-extra-ca617866a42a91c0240f92f858f061f6661b027b.tar.xz
nutyx-extra-ca617866a42a91c0240f92f858f061f6661b027b.zip
glib1 dans extra
Diffstat (limited to 'extra/glib1/Pkgfile')
-rwxr-xr-xextra/glib1/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/glib1/Pkgfile b/extra/glib1/Pkgfile
new file mode 100755
index 000000000..7543ccda9
--- /dev/null
+++ b/extra/glib1/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Librairie de bas niveau
+# URL: http://gd.tuwien.ac.at/graphics/gimp
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=glib1
+version=1.2.10
+release=1
+localname=glib
+source=( http://gd.tuwien.ac.at/graphics/gimp/gtk/v1.2/$localname-$version.tar.gz\
+ http://nutyx.meticul.eu/files/patchs/$name/{config.patch,gcc340.patch} )
+
+
+build() {
+cd $localname-$version
+patch -Np1 -i ../config.patch
+patch -Np1 -i ../gcc340.patch
+./configure --prefix=/usr --host=`uname -m`\
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+make
+make DESTDIR=$PKG install
+if [ -f $PKG/usr/lib/libgmodule-1.2.so.0.0.10 ]; then
+ chmod -v 755 $PKG/usr/lib/libgmodule-1.2.so.0.0.10
+fi
+rm $PKG/usr/share/info/dir
+}