wok-next view libcroco/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 1ca369c9f448 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libcroco"
4 VERSION="0.6.12"
5 CATEGORY="system-tools"
6 SHORT_DESC="Cascading Style Sheet (CSS2) parsing and manipulation toolkit"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://developer.gnome.org/libcroco/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libcroco.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="libxml2-dev glib-dev zlib-dev gtk-doc"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libcroco)
30 copy @std
31 DEPENDS="glib libxml2"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="libcroco glib-dev libxml2-dev"
36 ;;
37 esac
38 }