wok annotate giflib/receipt @ rev 16279

Add: xorg-xf86-video-nouveau (1.0.10)
author Alexander Medvedev <devl547@gmail.com>
date Sat Apr 05 22:54:38 2014 +0000 (2014-04-05)
parents de49f29b101e
children 40f9f468d1fd
rev   line source
rcx@3183 1 # SliTaz package receipt.
rcx@3183 2
rcx@3183 3 PACKAGE="giflib"
rcx@3183 4 VERSION="4.1.6"
rcx@3184 5 CATEGORY="graphics"
rcx@3183 6 SHORT_DESC="A library for processing GIFs."
rcx@3183 7 MAINTAINER="rcx@zoominternet.net"
pascal@15600 8 LICENSE="MIT"
pascal@15600 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@15600 10 WEB_SITE="http://sourceforge.net/projects/giflib/"
pascal@15600 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@16067 12 HOST_ARCH="i486 arm"
pascal@15600 13
jozee@5110 14 DEPENDS="glibc-base xorg-libSM xorg-libICE xorg-libX11 xorg-libXau \
pascal@5001 15 xorg-libXdmcp"
pascal@12662 16 BUILD_DEPENDS="util-linux-uuid-dev libtool"
rcx@3183 17
rcx@3183 18 # Rules to configure and make the package.
rcx@3183 19 compile_rules()
rcx@3183 20 {
slaxemulator@11721 21 sed -i '/AC_PATH_XTRA/d' configure.ac
slaxemulator@11721 22 libtoolize -f
slaxemulator@11721 23 autoreconf
rcx@3183 24 ./configure \
rcx@3183 25 $CONFIGURE_ARGS &&
slaxemulator@11721 26 make && make DESTDIR=$DESTDIR install
pankso@16067 27 case "$ARCH" in
pankso@16067 28 i?86)
pankso@16067 29 # libungif compatibility - instructions taken from Redhat specfile
pankso@16067 30 MAJOR=`echo $VERSION | sed 's/\([0-9]\+\)\..*/\1/'`
pankso@16067 31 gcc -shared -Wl,-soname,libungif.so.${MAJOR} \
pankso@16067 32 -Llib/.libs -lgif -o libungif.so.$VERSION
pankso@16067 33 install -m755 libungif.so.${VERSION} "$DESTDIR/usr/lib/"
pankso@16067 34 ln -sf libungif.so.$VERSIN "$DESTDIR/usr/lib/libungif.so.4"
pankso@16067 35 ln -sf libungif.so.4 "$DESTDIR/usr/lib/libungif.so" ;;
pankso@16067 36 esac
rcx@3183 37 }
rcx@3183 38
rcx@3183 39 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3183 40 genpkg_rules()
rcx@3183 41 {
rcx@3183 42 mkdir -p $fs/usr
pascal@15600 43 cp -a $install/usr/bin $fs/usr
rcx@3183 44 mkdir -p $fs/usr/lib
pascal@15600 45 cp -a $install/usr/lib/*.so* $fs/usr/lib
rcx@3183 46 }
rcx@3183 47