wok-current annotate libgd/receipt @ rev 16095

ARMadd fbff, fbgrab, fbida, fbvnc, libexif. Fixe and update receipt
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 16 19:34:26 2014 +0100 (2014-03-16)
parents 8f447cf2eee5
children 1c12e3f2a6a0
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@15473 8 LICENSE="BSD"
pankso@10404 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@1675 10 WEB_SITE="http://www.libgd.org/"
pankso@10469 11 WGET_URL="hg|https://bitbucket.org/pierrejoye/gd-libgd"
pankso@10404 12
pankso@10404 13 DEPENDS="zlib libpng jpeg freetype expat fontconfig xorg-libX11 \
pankso@10404 14 xorg-libXau xorg-libXdmcp xorg-libXpm"
pankso@10404 15 BUILD_DEPENDS="libpng-dev jpeg-dev expat-dev freetype-dev cmake \
pascal@15647 16 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXpm-dev automake libtool"
pascal@1675 17
pascal@1675 18 # Rules to configure and make the package.
pascal@1675 19 compile_rules()
pascal@1675 20 {
pascal@1675 21 cd $src
pascal@12967 22 export LDFLAGS="-Wl,--copy-dt-needed-entries -lm"
pascal@10705 23 cmake . && make && make DESTDIR=$DESTDIR install || return 1
pascal@10705 24 cd src
pascal@10705 25 ln -sf ../config ../test .
pascal@10705 26 ./bootstrap.sh
pascal@10705 27 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@10705 28 --mandir=/usr/share/man \
pascal@10705 29 $CONFIGURE_ARGS
pascal@10705 30 make -C config gdlib-config
pascal@10705 31 cp config/gdlib-config $DESTDIR/usr/local/bin
pascal@10705 32 chmod +x $DESTDIR/usr/local/bin/gdlib-config
pascal@10705 33 cd ..
pascal@1675 34 }
pascal@1675 35
pascal@1675 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1675 37 genpkg_rules()
pascal@1675 38 {
pascal@1675 39 mkdir -p $fs/usr/lib
pascal@15473 40 cp -a $install/usr/local/bin $fs/usr
pascal@10705 41 chmod +x $fs/usr/bin/gdlib-config
pascal@15473 42 cp -a $install/usr/local/lib/*.so* $fs/usr/lib
pascal@1675 43 }