From 6bbd93df57af473848465d91847feec9b9ab51d0 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Sat, 8 Aug 2009 18:48:11 +0200 Subject: Ajout de glib1#1.2.10-1 --- base/glib1/Pkgfile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 base/glib1/Pkgfile (limited to 'base/glib1/Pkgfile') diff --git a/base/glib1/Pkgfile b/base/glib1/Pkgfile new file mode 100755 index 000000000..4a051dfcf --- /dev/null +++ b/base/glib1/Pkgfile @@ -0,0 +1,29 @@ +# $Id: build,v 1.1 2008/02/05 06:28:46 install Exp install $ +# Description: Librairie de bas niveau +# URL: http://gd.tuwien.ac.at/graphics/gimp +# Maintainer: Linux From Scratch +# Packager: thierryn1 at hispeed dot ch +# Depends on: + +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\ + 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 +} -- cgit v1.2.3-70-g09d2