summaryrefslogtreecommitdiffstats
path: root/glib1/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /glib1/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'glib1/Pkgfile')
-rwxr-xr-xglib1/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/glib1/Pkgfile b/glib1/Pkgfile
new file mode 100755
index 000000000..7543ccda9
--- /dev/null
+++ b/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
+}