wok view giflib/receipt @ rev 12133
fceux: Fixed again.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Mar 13 15:39:58 2012 -0500 (2012-03-13) |
parents | 3c93fb2c34fe |
children | 73641efed1cc |
line source
1 # SliTaz package receipt.
3 PACKAGE="giflib"
4 VERSION="4.1.6"
5 CATEGORY="graphics"
6 SHORT_DESC="A library for processing GIFs."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base xorg-libSM xorg-libICE xorg-libX11 xorg-libXau \
9 xorg-libXdmcp"
10 BUILD_DEPENDS="util-linux-ng-uuid-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://sourceforge.net/projects/giflib/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i '/AC_PATH_XTRA/d' configure.ac
20 libtoolize -f
21 autoreconf
22 ./configure \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR install
25 # libungif compatibility - instructions taken from Redhat specfile
26 MAJOR=`echo $VERSION | sed 's/\([0-9]\+\)\..*/\1/'`
27 gcc -shared -Wl,-soname,libungif.so.${MAJOR} -Llib/.libs -lgif -o libungif.so.$VERSION
28 install -m755 libungif.so.${VERSION} "$DESTDIR/usr/lib/"
29 ln -sf libungif.so.$VERSIN "$DESTDIR/usr/lib/libungif.so.4"
30 ln -sf libungif.so.4 "$DESTDIR/usr/lib/libungif.so"
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $_pkg/usr/bin $fs/usr
38 mkdir -p $fs/usr/lib
39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
40 }