wok-6.x view libgd/receipt @ rev 5253

Removed firefox-simple-mail
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 12 18:58:00 2010 +0200 (2010-04-12)
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 }