wok-stable view libgd/receipt @ rev 2209

libpostgresqlclient: add link in /usr/lib
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 10 16:43:02 2009 +0000 (2009-02-10)
parents
children 4786cbebbb4b
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"
10 BUILD_DEPENDS="libpng libpng-dev jpeg jpeg-dev freetype freetype-dev xorg-libXpm"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.libgd.org/"
13 WGET_URL="${WEB_SITE}releases/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ln -s $src $PACKAGE-$VERSION
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }