wok-current view libgd/receipt @ rev 10491

extrema: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 13:20:56 2011 +0200 (2011-05-25)
parents e550cb2442e8
children ae1635ae41f8
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 coreutils-operations"
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 }