wok view libcroco/receipt @ rev 15122
raine: create make.dep
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 14 22:18:58 2013 +0000 (2013-08-14) |
parents | 4904e3d374a9 |
children | e2dc7c2d000d |
line source
1 # SliTaz package receipt.
3 PACKAGE="libcroco"
4 VERSION="0.6.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Cascading Style Sheet (CSS) parsing and manipulation toolkit."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.freespiders.org/projects/libcroco/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:3}/$TARBALL"
13 DEPENDS="libxml2 glib zlib"
14 BUILD_DEPENDS="libxml2-dev glib-dev zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/bin
30 cp $install/usr/bin/csslint* $fs/usr/bin
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }