wok annotate imlib/receipt @ rev 5198
get-wifi-firmware: fix(again)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sun Mar 28 20:50:17 2010 +0000 (2010-03-28) |
parents | 41aa89bb8444 |
children | 9b609b8dccdb |
rev | line source |
---|---|
rcx@3192 | 1 # SliTaz package receipt. |
rcx@3192 | 2 |
rcx@3192 | 3 PACKAGE="imlib" |
rcx@3192 | 4 VERSION="1.9.15" |
rcx@3192 | 5 CATEGORY="graphics" |
rcx@3192 | 6 SHORT_DESC="An advanced replacement imaging library for libraries like libXpm." |
rcx@3192 | 7 MAINTAINER="rcx@zoominternet.net" |
pankso@4052 | 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" |
rcx@3192 | 9 BUILD_DEPENDS="slitaz-toolchain xorg-dev xorg-xextproto giflib giflib-dev jpeg jpeg-dev libpng libpng-dev tiff tiff-dev zlib zlib-dev" |
rcx@3192 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
rcx@3192 | 11 WEB_SITE="http://freshmeat.net/projects/imlib/" |
rcx@3192 | 12 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/1.9/$TARBALL" |
rcx@3192 | 13 |
rcx@3192 | 14 # Rules to configure and make the package. |
rcx@3192 | 15 compile_rules() |
rcx@3192 | 16 { |
rcx@3192 | 17 cd $src |
rcx@3192 | 18 ./configure \ |
rcx@3192 | 19 --prefix=/usr \ |
rcx@3192 | 20 --sysconfdir=/etc \ |
rcx@3192 | 21 --infodir=/usr/share/info \ |
rcx@3192 | 22 --mandir=/usr/share/man \ |
rcx@3192 | 23 $CONFIGURE_ARGS && |
rcx@3192 | 24 make && make DESTDIR=$PWD/_pkg install |
rcx@3192 | 25 } |
rcx@3192 | 26 |
rcx@3192 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3192 | 28 genpkg_rules() |
rcx@3192 | 29 { |
rcx@3192 | 30 mkdir -p $fs/usr |
rcx@3192 | 31 cp -a $_pkg/usr/bin $fs/usr |
rcx@3192 | 32 mkdir -p $fs/usr/lib |
rcx@3192 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
rcx@3192 | 34 mkdir -p $fs/etc |
rcx@3192 | 35 cp -a $_pkg/etc $fs |
rcx@3192 | 36 } |