wok-current annotate libxml++/receipt @ rev 24210
properly renamed perl-file-rsync to perl-file-rsyncp
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 15:55:26 2021 +0100 (2021-12-31) |
parents | 6eff489aa802 |
children | 7dd01dedad38 |
rev | line source |
---|---|
pankso@2365 | 1 # SliTaz package receipt. |
pankso@2365 | 2 |
pankso@2365 | 3 PACKAGE="libxml++" |
slaxemulator@12333 | 4 VERSION="2.34.2" |
pankso@2365 | 5 CATEGORY="system-tools" |
pankso@2365 | 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 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@2365 | 10 WEB_SITE="http://libxmlplusplus.sourceforge.net/" |
slaxemulator@10231 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
erjo@9952 | 12 |
pascal@5003 | 13 DEPENDS="glibmm libsigc++ libxml2 zlib gcc-lib-base" |
slaxemulator@10231 | 14 BUILD_DEPENDS="glibmm-dev libsigc++-dev libxml2-dev zlib-dev mm-common pkg-config" |
pankso@2365 | 15 |
pascal@24111 | 16 current_version() |
pascal@24111 | 17 { |
pascal@24111 | 18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 20 } |
pascal@24111 | 21 |
pankso@2365 | 22 # Rules to configure and make the package. |
pankso@2365 | 23 compile_rules() |
pankso@2365 | 24 { |
pankso@2365 | 25 cd $src |
erjo@9952 | 26 ./configure --prefix=/usr \ |
slaxemulator@10231 | 27 --disable-documentation \ |
slaxemulator@10231 | 28 $CONFIGURE_ARGS && |
pankso@2365 | 29 make && |
erjo@9952 | 30 make DESTDIR=$DESTDIR install |
pankso@2365 | 31 } |
pankso@2365 | 32 |
pankso@2365 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2365 | 34 genpkg_rules() |
pankso@2365 | 35 { |
pankso@2365 | 36 mkdir -p $fs/usr/lib |
pascal@14718 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@2365 | 38 } |
pankso@2365 | 39 |