wok annotate babl/receipt @ rev 6654
Added linux-api-headers. This is like linux-headers but it doesn't depend on linux to be build. Also this means we can update the kernel without rebuild the toolchain.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 11 02:17:02 2010 +0000 (2010-10-11) |
parents | 4273e906522b |
children | 32141ce4e6e9 |
rev | line source |
---|---|
erjo@1645 | 1 # SliTaz package receipt. |
erjo@1645 | 2 |
erjo@1645 | 3 PACKAGE="babl" |
slaxemulator@6186 | 4 VERSION="0.1.2" |
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 DEPENDS="" |
erjo@1645 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1645 | 10 WEB_SITE="http://gegl.org/babl/" |
pankso@4681 | 11 WGET_URL="ftp://ftp.gtk.org/pub/babl/0.1/$TARBALL" |
erjo@1645 | 12 |
erjo@1645 | 13 # Rules to configure and make the package. |
erjo@1645 | 14 compile_rules() |
erjo@1645 | 15 { |
erjo@1645 | 16 cd $src |
erjo@1645 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
erjo@1645 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
erjo@1645 | 19 make && make DESTDIR=$PWD/_pkg install |
erjo@1645 | 20 } |
erjo@1645 | 21 |
erjo@1645 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1645 | 23 genpkg_rules() |
erjo@1645 | 24 { |
erjo@1645 | 25 mkdir -p $fs/usr/lib |
erjo@1645 | 26 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@1645 | 27 cp -a $_pkg/usr/lib/babl-0.0 $fs/usr/lib |
erjo@1645 | 28 } |
erjo@1645 | 29 |