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

Up: slitaz-base-files (2.2)
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 15 21:55:10 2008 +0200 (2008-05-15)
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 }