wok-current annotate libgd/receipt @ rev 12470
Up: pcre (8.30) Have --enable-unicode-properties so we can build glib with it
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 23 12:50:36 2012 +0200 (2012-04-23) |
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 } |