wok-4.x annotate cairo/receipt @ rev 565
Add: Goffice (Gnumeric dep)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 13 01:08:05 2008 +0200 (2008-04-13) |
parents | |
children | 3a7bbc8e1907 |
rev | line source |
---|---|
pankso@22 | 1 # SliTaz package receipt. |
pankso@22 | 2 |
pankso@22 | 3 PACKAGE="cairo" |
pankso@22 | 4 VERSION="1.4.10" |
pankso@22 | 5 CATEGORY="x-window" |
pankso@22 | 6 SHORT_DESC="2D graphics library." |
pankso@22 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@22 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@22 | 9 WEB_SITE="http://www.cairographics.org/" |
pankso@22 | 10 WGET_URL="http://cairographics.org/releases/$TARBALL" |
pankso@22 | 11 |
pankso@22 | 12 # Rules to configure and make the package. |
pankso@22 | 13 compile_rules() |
pankso@22 | 14 { |
pankso@22 | 15 cd $src |
pankso@22 | 16 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pankso@22 | 17 --with-html-dir=/usr/share/doc $CONFIGURE_ARGS |
pankso@22 | 18 make |
pankso@22 | 19 make DESTDIR=$PWD/_pkg install |
pankso@22 | 20 } |
pankso@22 | 21 |
pankso@22 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 23 genpkg_rules() |
pankso@22 | 24 { |
pankso@22 | 25 mkdir -p $fs/usr/lib |
pankso@22 | 26 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@22 | 27 strip --strip-unneeded $fs/usr/lib/* |
pankso@22 | 28 } |