wok-next view libcroco/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | f48456621a9d |
children | 33293021c26d |
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="devel@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 }