wok-next annotate lcms/receipt @ rev 9259
Use SOURCE to define tarball properly (thanks Godane)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 15 03:39:52 2011 +0100 (2011-03-15) |
parents | 18b8dc71d9bf |
children | 8d0494b159cc |
rev | line source |
---|---|
pankso@2821 | 1 # SliTaz package receipt. |
pankso@2821 | 2 |
pankso@2821 | 3 PACKAGE="lcms" |
slaxemulator@6226 | 4 VERSION="1.19" |
pankso@2821 | 5 CATEGORY="graphics" |
pankso@2821 | 6 SHORT_DESC="A free color management engine in 100K (library)." |
pankso@2821 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@6226 | 8 TARBALL="$PACKAGE-${VERSION}.tar.gz" |
pankso@2821 | 9 WEB_SITE="http://www.littlecms.com/" |
slaxemulator@6226 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@2821 | 11 |
pankso@2821 | 12 # Rules to configure and make the package. |
pankso@2821 | 13 compile_rules() |
pankso@2821 | 14 { |
pankso@2821 | 15 cd $src |
pankso@2821 | 16 ./configure \ |
pankso@2821 | 17 --prefix=/usr \ |
pankso@2821 | 18 --mandir=/usr/share/man \ |
pankso@2821 | 19 $CONFIGURE_ARGS && |
pankso@2821 | 20 make && |
pankso@2821 | 21 make DESTDIR=$PWD/_pkg install |
pankso@2821 | 22 } |
pankso@2821 | 23 |
pankso@2821 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2821 | 25 genpkg_rules() |
pankso@2821 | 26 { |
pankso@2821 | 27 mkdir -p $fs/usr/lib |
pankso@2821 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@2821 | 29 } |
pankso@2821 | 30 |