wok-current view libcroco/receipt @ rev 12672

gtk-gnutella: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 01 13:13:13 2012 +0200 (2012-05-01)
parents dc5d15ed9adc
children 4904e3d374a9
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 DEPENDS="libxml2 glib zlib"
9 BUILD_DEPENDS="libxml2-dev glib-dev zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WEB_SITE="http://www.freespiders.org/projects/libcroco/"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:3}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/usr/bin
28 cp $_pkg/usr/bin/csslint* $fs/usr/bin
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 }