wok-stable annotate libgd/receipt @ rev 5615
Fix: itaka category
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 26 09:56:24 2010 +0200 (2010-05-26) |
parents | 4786cbebbb4b |
children | 981932aa3aa4 |
rev | line source |
---|---|
pascal@1675 | 1 # SliTaz package receipt. |
pascal@1675 | 2 |
pascal@1675 | 3 PACKAGE="libgd" |
pascal@1675 | 4 VERSION="2.0.35" |
pascal@1675 | 5 CATEGORY="graphics" |
pascal@1675 | 6 SHORT_DESC="Library for the dynamic creation of images." |
pascal@1675 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1675 | 8 SOURCE="gd" |
pascal@2477 | 9 DEPENDS="zlib libpng jpeg freetype xorg-libXpm expat fontconfig xorg-libX11 \ |
pascal@2477 | 10 xorg-libXau xorg-libXdmcp" |
pascal@1675 | 11 BUILD_DEPENDS="libpng libpng-dev jpeg jpeg-dev freetype freetype-dev xorg-libXpm" |
pascal@1675 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@1675 | 13 WEB_SITE="http://www.libgd.org/" |
pascal@1675 | 14 WGET_URL="${WEB_SITE}releases/$TARBALL" |
pascal@1675 | 15 |
pascal@1675 | 16 # Rules to configure and make the package. |
pascal@1675 | 17 compile_rules() |
pascal@1675 | 18 { |
pascal@1675 | 19 ln -s $src $PACKAGE-$VERSION |
pascal@1675 | 20 cd $src |
pascal@1675 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1675 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1675 | 23 make && |
pascal@1675 | 24 make DESTDIR=$PWD/_pkg install |
pascal@1675 | 25 } |
pascal@1675 | 26 |
pascal@1675 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1675 | 28 genpkg_rules() |
pascal@1675 | 29 { |
pascal@1675 | 30 mkdir -p $fs/usr/lib |
pascal@1675 | 31 cp -a $_pkg/usr/bin $fs/usr |
pascal@4939 | 32 chmod +x $_pkg/usr/bin/gdlib-config |
pascal@1675 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1675 | 34 } |
pascal@1675 | 35 |