wok annotate babl/receipt @ rev 14659
linux64-btrfs: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 05 21:35:12 2013 +0200 (2013-06-05) |
parents | 71c4889c7559 |
children | 7d6089953592 |
rev | line source |
---|---|
erjo@1645 | 1 # SliTaz package receipt. |
erjo@1645 | 2 |
erjo@1645 | 3 PACKAGE="babl" |
pankso@12737 | 4 VERSION="0.1.10" |
erjo@1645 | 5 CATEGORY="system-tools" |
jozee@4932 | 6 SHORT_DESC="pixel format translation library." |
erjo@1645 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@1645 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1645 | 9 WEB_SITE="http://gegl.org/babl/" |
slaxemulator@12365 | 10 WGET_URL="ftp://ftp.gimp.org/pub/$PACKAGE/${VERSION:0:3}/$TARBALL" |
erjo@1645 | 11 |
erjo@1645 | 12 # Rules to configure and make the package. |
erjo@1645 | 13 compile_rules() |
erjo@1645 | 14 { |
erjo@1645 | 15 cd $src |
slaxemulator@12365 | 16 ./configure \ |
slaxemulator@12365 | 17 $CONFIGURE_ARGS && \ |
pankso@12737 | 18 make && make install |
erjo@1645 | 19 } |
erjo@1645 | 20 |
erjo@1645 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1645 | 22 genpkg_rules() |
erjo@1645 | 23 { |
erjo@1645 | 24 mkdir -p $fs/usr/lib |
pankso@12737 | 25 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12737 | 26 cp -a $install/usr/lib/babl-* $fs/usr/lib |
pankso@12737 | 27 rm $fs/usr/lib/babl-*/*.*a |
erjo@1645 | 28 } |
erjo@1645 | 29 |