wok annotate libgd/receipt @ rev 4667

Up: perl-pango (1.221)
author Claudinei Pereira <claudinei@slitaz.org>
date Tue Dec 29 10:26:06 2009 +0000 (2009-12-29)
parents a4554ef26720
children 9a855e15e516
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@1675 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@1675 33 }
pascal@1675 34