wok-next annotate giflib/receipt @ rev 11067
Up: bind to 9.8.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 17 00:47:21 2011 +0000 (2011-10-17) |
parents | 9f19aee613be |
children | 3c93fb2c34fe |
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" |
jozee@5110 | 8 DEPENDS="glibc-base xorg-libSM xorg-libICE xorg-libX11 xorg-libXau \ |
pascal@5001 | 9 xorg-libXdmcp" |
rcx@3183 | 10 BUILD_DEPENDS="slitaz-toolchain" |
rcx@3183 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
rcx@3183 | 12 WEB_SITE="http://sourceforge.net/projects/giflib/" |
rcx@3183 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
rcx@3183 | 14 |
rcx@3183 | 15 # Rules to configure and make the package. |
rcx@3183 | 16 compile_rules() |
rcx@3183 | 17 { |
rcx@3183 | 18 cd $src |
rcx@3183 | 19 ./configure \ |
rcx@3183 | 20 --prefix=/usr \ |
rcx@3183 | 21 --infodir=/usr/share/info \ |
rcx@3183 | 22 --mandir=/usr/share/man \ |
rcx@3183 | 23 $CONFIGURE_ARGS && |
rcx@3183 | 24 make && make DESTDIR=$PWD/_pkg install |
rcx@3183 | 25 } |
rcx@3183 | 26 |
rcx@3183 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3183 | 28 genpkg_rules() |
rcx@3183 | 29 { |
rcx@3183 | 30 mkdir -p $fs/usr |
rcx@3183 | 31 cp -a $_pkg/usr/bin $fs/usr |
rcx@3183 | 32 mkdir -p $fs/usr/lib |
rcx@3183 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
rcx@3183 | 34 } |
rcx@3183 | 35 |