wok view imlib/receipt @ rev 12676

mpd: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 01 13:46:30 2012 +0200 (2012-05-01)
parents 9b609b8dccdb
children 408c87fa22ca
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-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 util-linux-uuid-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 }