wok-6.x view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libgd"
4 VERSION="2.0.35"
5 CATEGORY="graphics"
6 SHORT_DESC="Library for the dynamic creation of images."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.libgd.org/"
10 #WGET_URL="hg|https://bitbucket.org/pierrejoye/gd-libgd"
12 DEPENDS="zlib libpng jpeg freetype expat fontconfig xorg-libX11 \
13 xorg-libXau xorg-libXdmcp xorg-libXpm"
14 BUILD_DEPENDS="libpng-dev jpeg-dev expat-dev freetype-dev cmake \
15 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXpm-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 cmake . && make && install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/bin $fs/usr
29 chmod +x $_pkg/usr/bin/gdlib-config
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }