wok view giflib/receipt @ rev 15837
Up: fuse to 2.9.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 27 04:24:04 2014 +0000 (2014-01-27) |
parents | 356a57f8cd59 |
children | 9be2dfe2fe72 |
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 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://sourceforge.net/projects/giflib/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="glibc-base xorg-libSM xorg-libICE xorg-libX11 xorg-libXau \
14 xorg-libXdmcp"
15 BUILD_DEPENDS="util-linux-uuid-dev libtool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i '/AC_PATH_XTRA/d' configure.ac
22 libtoolize -f
23 autoreconf
24 ./configure \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$DESTDIR install
27 # libungif compatibility - instructions taken from Redhat specfile
28 MAJOR=`echo $VERSION | sed 's/\([0-9]\+\)\..*/\1/'`
29 gcc -shared -Wl,-soname,libungif.so.${MAJOR} -Llib/.libs -lgif -o libungif.so.$VERSION
30 install -m755 libungif.so.${VERSION} "$DESTDIR/usr/lib/"
31 ln -sf libungif.so.$VERSIN "$DESTDIR/usr/lib/libungif.so.4"
32 ln -sf libungif.so.4 "$DESTDIR/usr/lib/libungif.so"
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }