wok-4.x view cairo/receipt @ rev 303

Patch: back to busybox in post_remove
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 29 22:45:28 2008 +0000 (2008-02-29)
parents
children 3a7bbc8e1907
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo"
4 VERSION="1.4.10"
5 CATEGORY="x-window"
6 SHORT_DESC="2D graphics library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.cairographics.org/"
10 WGET_URL="http://cairographics.org/releases/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --mandir=/usr/share/man \
17 --with-html-dir=/usr/share/doc $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib
26 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
27 strip --strip-unneeded $fs/usr/lib/*
28 }