wok annotate libgd/receipt @ rev 10556
pam_mount: update bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 21:37:55 2011 +0200 (2011-05-25) |
parents | ae1635ae41f8 |
children | 213f07bd7c77 |
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@10532 | 21 cmake . && make && make DESTDIR=$DESTDIR install |
pascal@1675 | 22 } |
pascal@1675 | 23 |
pascal@1675 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1675 | 25 genpkg_rules() |
pascal@1675 | 26 { |
pascal@1675 | 27 mkdir -p $fs/usr/lib |
pascal@10537 | 28 cp -a $_pkg/usr/local/bin $fs/usr |
pascal@4939 | 29 chmod +x $_pkg/usr/bin/gdlib-config |
pascal@10537 | 30 cp -a $_pkg/usr/local/lib/*.so* $fs/usr/lib |
pascal@1675 | 31 } |