wok-6.x view libgd/receipt @ rev 9179
Up: freeciv to 2.2.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Mar 08 20:38:59 2011 +0000 (2011-03-08) |
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 }