wok annotate libgd/receipt @ rev 11166
Up: gdk-pixbuf to 2.24.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 02 07:04:48 2011 +0000 (2011-11-02) |
parents | a13c13eae41c |
children | 16c18225789a |
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" |
pankso@10404 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1675 | 9 WEB_SITE="http://www.libgd.org/" |
pankso@10469 | 10 WGET_URL="hg|https://bitbucket.org/pierrejoye/gd-libgd" |
pankso@10404 | 11 |
pankso@10404 | 12 DEPENDS="zlib libpng jpeg freetype expat fontconfig xorg-libX11 \ |
pankso@10404 | 13 xorg-libXau xorg-libXdmcp xorg-libXpm" |
pankso@10404 | 14 BUILD_DEPENDS="libpng-dev jpeg-dev expat-dev freetype-dev cmake \ |
pascal@10532 | 15 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXpm-dev" |
pascal@1675 | 16 |
pascal@1675 | 17 # Rules to configure and make the package. |
pascal@1675 | 18 compile_rules() |
pascal@1675 | 19 { |
pascal@1675 | 20 cd $src |
pascal@10705 | 21 cmake . && make && make DESTDIR=$DESTDIR install || return 1 |
pascal@10705 | 22 cd src |
pascal@10705 | 23 ln -sf ../config ../test . |
pascal@10705 | 24 ./bootstrap.sh |
pascal@10705 | 25 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@10705 | 26 --mandir=/usr/share/man \ |
pascal@10705 | 27 $CONFIGURE_ARGS |
pascal@10705 | 28 make -C config gdlib-config |
pascal@10705 | 29 cp config/gdlib-config $DESTDIR/usr/local/bin |
pascal@10705 | 30 chmod +x $DESTDIR/usr/local/bin/gdlib-config |
pascal@10705 | 31 cd .. |
pascal@1675 | 32 } |
pascal@1675 | 33 |
pascal@1675 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1675 | 35 genpkg_rules() |
pascal@1675 | 36 { |
pascal@1675 | 37 mkdir -p $fs/usr/lib |
pascal@10537 | 38 cp -a $_pkg/usr/local/bin $fs/usr |
pascal@10705 | 39 chmod +x $fs/usr/bin/gdlib-config |
pascal@10537 | 40 cp -a $_pkg/usr/local/lib/*.so* $fs/usr/lib |
pascal@1675 | 41 } |