wok-6.x annotate imlib2/receipt @ rev 1675
Add libgd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 08 13:58:58 2008 +0000 (2008-11-08) |
parents | 6a6ba65f2ad7 |
children | d4b11bc7b0e1 |
rev | line source |
---|---|
pankso@358 | 1 # SliTaz package receipt. |
pankso@358 | 2 |
pankso@358 | 3 PACKAGE="imlib2" |
pankso@358 | 4 VERSION="1.4.0" |
pankso@358 | 5 CATEGORY="graphics" |
pankso@358 | 6 SHORT_DESC="Imlib graphic library." |
pankso@358 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@358 | 8 DEPENDS="libpng tiff jpeg xorg-libXpm" |
pascal@1488 | 9 BUILD_DEPENDS="libpng-dev tiff-dev jpeg-dev xorg-libXpm-dev xorg-xextproto id3lib-dev" |
pankso@358 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@358 | 11 WEB_SITE="http://sourceforge.net/projects/enlightenment/" |
pankso@358 | 12 WGET_URL="$SF_MIRROR/enlightenment/$TARBALL" |
pankso@358 | 13 |
pankso@358 | 14 # Rules to configure and make the package. |
pankso@358 | 15 compile_rules() |
pankso@358 | 16 { |
pankso@358 | 17 cd $src |
pankso@358 | 18 ./configure \ |
pankso@358 | 19 --prefix=/usr \ |
pankso@358 | 20 --infodir=/usr/share/info \ |
pankso@358 | 21 --mandir=/usr/share/man \ |
pascal@1480 | 22 $CONFIGURE_ARGS && |
pascal@1480 | 23 make && |
pankso@358 | 24 make DESTDIR=$PWD/_pkg install |
pankso@358 | 25 } |
pankso@358 | 26 |
pankso@358 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@358 | 28 genpkg_rules() |
pankso@358 | 29 { |
pankso@358 | 30 mkdir -p $fs/usr/lib/imlib2 $fs/usr/bin |
pankso@358 | 31 |
pankso@358 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@358 | 33 mkdir -p $fs/usr/lib/imlib2/filters |
pankso@358 | 34 cp -a $_pkg/usr/lib/imlib2/filters/*.so* $fs/usr/lib/imlib2/filters |
pankso@358 | 35 mkdir -p $fs/usr/lib/imlib2/loaders |
pankso@358 | 36 cp -a $_pkg/usr/lib/imlib2/loaders/*.so* $fs/usr/lib/imlib2/loaders |
pankso@358 | 37 |
pankso@358 | 38 cp -a $_pkg/usr/bin/imlib2_* $fs/usr/bin |
pankso@358 | 39 } |
pankso@358 | 40 |