wok-current annotate libgd/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
children 4786cbebbb4b
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@1675 9 DEPENDS="zlib libpng jpeg freetype xorg-libXpm"
pascal@1675 10 BUILD_DEPENDS="libpng libpng-dev jpeg jpeg-dev freetype freetype-dev xorg-libXpm"
pascal@1675 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@1675 12 WEB_SITE="http://www.libgd.org/"
pascal@1675 13 WGET_URL="${WEB_SITE}releases/$TARBALL"
pascal@1675 14
pascal@1675 15 # Rules to configure and make the package.
pascal@1675 16 compile_rules()
pascal@1675 17 {
pascal@1675 18 ln -s $src $PACKAGE-$VERSION
pascal@1675 19 cd $src
pascal@1675 20 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1675 21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1675 22 make &&
pascal@1675 23 make DESTDIR=$PWD/_pkg install
pascal@1675 24 }
pascal@1675 25
pascal@1675 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1675 27 genpkg_rules()
pascal@1675 28 {
pascal@1675 29 mkdir -p $fs/usr/lib
pascal@1675 30 cp -a $_pkg/usr/bin $fs/usr
pascal@1675 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@1675 32 }
pascal@1675 33