wok-next rev 10404
libgd: will use hg to get source
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 24 04:19:39 2011 +0200 (2011-05-24) |
parents | 87dcc4995f4d |
children | ffc5c60a9d3f |
files | libgd/receipt |
line diff
1.1 --- a/libgd/receipt Mon May 23 21:29:02 2011 +0000 1.2 +++ b/libgd/receipt Tue May 24 04:19:39 2011 +0200 1.3 @@ -5,23 +5,20 @@ 1.4 CATEGORY="graphics" 1.5 SHORT_DESC="Library for the dynamic creation of images." 1.6 MAINTAINER="pascal.bellard@slitaz.org" 1.7 -SOURCE="gd" 1.8 -DEPENDS="zlib libpng jpeg freetype xorg-libXpm expat fontconfig xorg-libX11 \ 1.9 -xorg-libXau xorg-libXdmcp" 1.10 -BUILD_DEPENDS="libpng libpng-dev jpeg jpeg-dev freetype freetype-dev xorg-libXpm" 1.11 -TARBALL="$SOURCE-$VERSION.tar.bz2" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 WEB_SITE="http://www.libgd.org/" 1.14 -WGET_URL="${WEB_SITE}releases/$TARBALL" 1.15 +#WGET_URL="hg|https://bitbucket.org/pierrejoye/gd-libgd" 1.16 + 1.17 +DEPENDS="zlib libpng jpeg freetype expat fontconfig xorg-libX11 \ 1.18 +xorg-libXau xorg-libXdmcp xorg-libXpm" 1.19 +BUILD_DEPENDS="libpng-dev jpeg-dev expat-dev freetype-dev cmake \ 1.20 +xorg-libXau-dev xorg-libXdmcp-dev xorg-libXpm-dev" 1.21 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 - ln -s $src $PACKAGE-$VERSION 1.26 cd $src 1.27 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.28 - --mandir=/usr/share/man $CONFIGURE_ARGS && 1.29 - make && 1.30 - make DESTDIR=$PWD/_pkg install 1.31 + cmake . && make && install 1.32 } 1.33 1.34 # Rules to gen a SliTaz package suitable for Tazpkg. 1.35 @@ -32,4 +29,3 @@ 1.36 chmod +x $_pkg/usr/bin/gdlib-config 1.37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.38 } 1.39 -