wok-next annotate giflib/receipt @ rev 5001
[f-g]*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 15:33:01 2010 +0100 (2010-02-28) |
parents | 0e6eae9ec5a3 |
children | 6c1046a2b9bb |
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@5001 | 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 |