wok-next annotate libxml++/receipt @ rev 20424
linux-dev: move creation to compile_rules(), keep genpkg_rules() for copying/splitting only
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 12 17:02:57 2018 +0200 (2018-01-12) |
parents | 6eff489aa802 |
children | 5841522533ec |
rev | line source |
---|---|
al@19893 | 1 # SliTaz package receipt v2. |
pankso@2365 | 2 |
pankso@2365 | 3 PACKAGE="libxml++" |
al@19893 | 4 VERSION="3.0.1" |
pankso@2365 | 5 CATEGORY="system-tools" |
al@19893 | 6 SHORT_DESC="C++ wrapper for the libxml XML parser library" |
pankso@2365 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14718 | 8 LICENSE="LGPL2.1" |
pankso@2365 | 9 WEB_SITE="http://libxmlplusplus.sourceforge.net/" |
al@19893 | 10 |
al@19893 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
slaxemulator@10231 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
erjo@9952 | 13 |
al@19893 | 14 BUILD_DEPENDS="libxml2-dev glibmm-dev" |
al@19893 | 15 SPLIT="libxml++-dev" |
pankso@2365 | 16 |
pankso@2365 | 17 # Rules to configure and make the package. |
pankso@2365 | 18 compile_rules() |
pankso@2365 | 19 { |
al@19893 | 20 ./configure $CONFIGURE_ARGS && make && make install |
pankso@2365 | 21 } |
pankso@2365 | 22 |
pankso@2365 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2365 | 24 genpkg_rules() |
pankso@2365 | 25 { |
al@19893 | 26 case $PACKAGE in |
al@19893 | 27 libxml++) |
al@19893 | 28 copy @std |
al@19893 | 29 DEPENDS="glib glibmm libsigc++ libxml2" |
al@19893 | 30 ;; |
al@19893 | 31 *-dev) |
al@19893 | 32 copy @dev |
al@19893 | 33 DEPENDS="libxml++ glib-dev glibmm-dev libffi-dev libsigc++-dev \ |
al@19893 | 34 libxml2-dev pcre-dev xz-dev zlib-dev" |
al@19893 | 35 ;; |
al@19893 | 36 esac |
pankso@2365 | 37 } |