wok-next diff libgd/receipt @ rev 1915
Add perl-unicode-string
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 22 09:12:11 2008 +0000 (2008-12-22) |
parents | |
children | 4786cbebbb4b |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libgd/receipt Mon Dec 22 09:12:11 2008 +0000 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libgd" 1.7 +VERSION="2.0.35" 1.8 +CATEGORY="graphics" 1.9 +SHORT_DESC="Library for the dynamic creation of images." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +SOURCE="gd" 1.12 +DEPENDS="zlib libpng jpeg freetype xorg-libXpm" 1.13 +BUILD_DEPENDS="libpng libpng-dev jpeg jpeg-dev freetype freetype-dev xorg-libXpm" 1.14 +TARBALL="$SOURCE-$VERSION.tar.bz2" 1.15 +WEB_SITE="http://www.libgd.org/" 1.16 +WGET_URL="${WEB_SITE}releases/$TARBALL" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + ln -s $src $PACKAGE-$VERSION 1.22 + cd $src 1.23 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.24 + --mandir=/usr/share/man $CONFIGURE_ARGS && 1.25 + make && 1.26 + make DESTDIR=$PWD/_pkg install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/lib 1.33 + cp -a $_pkg/usr/bin $fs/usr 1.34 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.35 +} 1.36 +