wok-6.x view libgd/receipt @ rev 4939
libgd: set gdlib-config executable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 16 21:16:00 2010 +0100 (2010-02-16) |
parents | 4786cbebbb4b |
children | 981932aa3aa4 |
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 SOURCE="gd"
9 DEPENDS="zlib libpng jpeg freetype xorg-libXpm expat fontconfig xorg-libX11 \
10 xorg-libXau xorg-libXdmcp"
11 BUILD_DEPENDS="libpng libpng-dev jpeg jpeg-dev freetype freetype-dev xorg-libXpm"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.libgd.org/"
14 WGET_URL="${WEB_SITE}releases/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ln -s $src $PACKAGE-$VERSION
20 cd $src
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 chmod +x $_pkg/usr/bin/gdlib-config
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 }