wok diff giflib/receipt @ rev 12151
sarg: Customising config file
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Mar 15 00:26:36 2012 +0100 (2012-03-15) |
parents | 3c93fb2c34fe |
children | 73641efed1cc |
line diff
1.1 --- a/giflib/receipt Thu Dec 22 23:06:24 2011 +0100 1.2 +++ b/giflib/receipt Thu Mar 15 00:26:36 2012 +0100 1.3 @@ -16,12 +16,18 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 + sed -i '/AC_PATH_XTRA/d' configure.ac 1.8 + libtoolize -f 1.9 + autoreconf 1.10 ./configure \ 1.11 - --prefix=/usr \ 1.12 - --infodir=/usr/share/info \ 1.13 - --mandir=/usr/share/man \ 1.14 $CONFIGURE_ARGS && 1.15 - make && make DESTDIR=$PWD/_pkg install 1.16 + make && make DESTDIR=$DESTDIR install 1.17 + # libungif compatibility - instructions taken from Redhat specfile 1.18 + MAJOR=`echo $VERSION | sed 's/\([0-9]\+\)\..*/\1/'` 1.19 + gcc -shared -Wl,-soname,libungif.so.${MAJOR} -Llib/.libs -lgif -o libungif.so.$VERSION 1.20 + install -m755 libungif.so.${VERSION} "$DESTDIR/usr/lib/" 1.21 + ln -sf libungif.so.$VERSIN "$DESTDIR/usr/lib/libungif.so.4" 1.22 + ln -sf libungif.so.4 "$DESTDIR/usr/lib/libungif.so" 1.23 } 1.24 1.25 # Rules to gen a SliTaz package suitable for Tazpkg.