wok view libgd/receipt @ rev 10537
libgd: fix path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 18:31:49 2011 +0200 (2011-05-25) |
parents | ae1635ae41f8 |
children | 213f07bd7c77 |
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 && make DESTDIR=$DESTDIR 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/local/bin $fs/usr
29 chmod +x $_pkg/usr/bin/gdlib-config
30 cp -a $_pkg/usr/local/lib/*.so* $fs/usr/lib
31 }