wok-6.x annotate libgd/receipt @ rev 10406
zlib: clean up.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue May 24 06:44:24 2011 +0000 (2011-05-24) |
parents | 9a855e15e516 |
children | e550cb2442e8 |
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@10404 | 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 \ |
pankso@10404 | 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 |
pankso@10404 | 21 cmake . && make && 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@1675 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@4939 | 29 chmod +x $_pkg/usr/bin/gdlib-config |
pascal@1675 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1675 | 31 } |