wok annotate giflib/receipt @ rev 4770
Fix: xorg-xset DEPENDS on xorg-libXP - Bug #223 (Thanks Neil)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jan 11 21:55:16 2010 +0100 (2010-01-11) |
parents | 1198d4de24b9 |
children | 9f19aee613be |
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" |
rcx@3183 | 8 DEPENDS="glibc-base" |
rcx@3183 | 9 BUILD_DEPENDS="slitaz-toolchain" |
rcx@3183 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
rcx@3183 | 11 WEB_SITE="http://sourceforge.net/projects/giflib/" |
rcx@3183 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
rcx@3183 | 13 |
rcx@3183 | 14 # Rules to configure and make the package. |
rcx@3183 | 15 compile_rules() |
rcx@3183 | 16 { |
rcx@3183 | 17 cd $src |
rcx@3183 | 18 ./configure \ |
rcx@3183 | 19 --prefix=/usr \ |
rcx@3183 | 20 --infodir=/usr/share/info \ |
rcx@3183 | 21 --mandir=/usr/share/man \ |
rcx@3183 | 22 $CONFIGURE_ARGS && |
rcx@3183 | 23 make && make DESTDIR=$PWD/_pkg install |
rcx@3183 | 24 } |
rcx@3183 | 25 |
rcx@3183 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3183 | 27 genpkg_rules() |
rcx@3183 | 28 { |
rcx@3183 | 29 mkdir -p $fs/usr |
rcx@3183 | 30 cp -a $_pkg/usr/bin $fs/usr |
rcx@3183 | 31 mkdir -p $fs/usr/lib |
rcx@3183 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
rcx@3183 | 33 } |
rcx@3183 | 34 |