wok view libgd/receipt @ rev 4289

kobodeluxe: fix build with glibc-2.10
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 26 14:34:42 2009 +0200 (2009-09-26)
parents a4554ef26720
children 9a855e15e516
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 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }