wok view imlib/receipt @ rev 9767

libffcall: add CVS WGET_URL support
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 11 20:17:27 2011 +0200 (2011-05-11)
parents 41aa89bb8444
children 9b609b8dccdb
line source
1 # SliTaz package receipt.
3 PACKAGE="imlib"
4 VERSION="1.9.15"
5 CATEGORY="graphics"
6 SHORT_DESC="An advanced replacement imaging library for libraries like libXpm."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext giflib jpeg libpng tiff zlib util-linux-ng-uuid"
9 BUILD_DEPENDS="slitaz-toolchain xorg-dev xorg-xextproto giflib giflib-dev jpeg jpeg-dev libpng libpng-dev tiff tiff-dev zlib zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://freshmeat.net/projects/imlib/"
12 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/1.9/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && 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
31 cp -a $_pkg/usr/bin $fs/usr
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 mkdir -p $fs/etc
35 cp -a $_pkg/etc $fs
36 }