wok annotate imlib/receipt @ rev 19715

Up cookutils(876): to fix amsn post-build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Feb 16 02:22:14 2017 +0200 (2017-02-16)
parents 8417cbe6fdae
children 37ffcac02372
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"
pascal@15001 8 LICENSE="GPL2"
rcx@3192 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
rcx@3192 10 WEB_SITE="http://freshmeat.net/projects/imlib/"
pascal@17869 11 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
rcx@3192 12
pascal@15001 13 DEPENDS="glibc-base xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext giflib jpeg libpng tiff zlib util-linux-uuid"
pascal@15001 14 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"
pascal@15001 15
rcx@3192 16 # Rules to configure and make the package.
rcx@3192 17 compile_rules()
rcx@3192 18 {
rcx@3192 19 ./configure \
rcx@3192 20 --prefix=/usr \
rcx@3192 21 --sysconfdir=/etc \
rcx@3192 22 --infodir=/usr/share/info \
rcx@3192 23 --mandir=/usr/share/man \
rcx@3192 24 $CONFIGURE_ARGS &&
pascal@15001 25 make && make DESTDIR=$DESTDIR install
rcx@3192 26 }
rcx@3192 27
rcx@3192 28 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3192 29 genpkg_rules()
rcx@3192 30 {
rcx@3192 31 mkdir -p $fs/usr
pascal@15001 32 cp -a $install/usr/bin $fs/usr
rcx@3192 33 mkdir -p $fs/usr/lib
pascal@15001 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
rcx@3192 35 mkdir -p $fs/etc
pascal@15001 36 cp -a $install/etc $fs
psychomaniak@18352 37 }