wok-current view libcroco/receipt @ rev 4113
Up: glib (2.21.6)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Sep 19 22:43:55 2009 +0200 (2009-09-19) |
parents | |
children | 481017e94c90 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libcroco"
4 VERSION="0.6.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Cascading Style Sheet (CSS) parsing and manipulation toolkit."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libxml2 glib zlib"
9 BUILD_DEPENDS="libxml2-dev glib-dev zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.freespiders.org/projects/libcroco/"
12 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/libcroco/0.6/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib $fs/usr/bin
29 cp $_pkg/usr/bin/csslint* $fs/usr/bin
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }