wok annotate libxml++/receipt @ rev 25494
Add finch & btop (thanks ceel)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 30 08:50:05 2022 +0000 (22 months ago) |
parents | cec9f8f5726d |
children |
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" |
pascal@25465 | 10 WEB_SITE="https://sourceforge.net/projects/libxmlplusplus/" |
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@25461 | 16 # What is the latest version available today? |
pascal@24111 | 17 current_version() |
pascal@24111 | 18 { |
pascal@24111 | 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 21 } |
pascal@24111 | 22 |
pankso@2365 | 23 # Rules to configure and make the package. |
pankso@2365 | 24 compile_rules() |
pankso@2365 | 25 { |
pankso@2365 | 26 cd $src |
erjo@9952 | 27 ./configure --prefix=/usr \ |
slaxemulator@10231 | 28 --disable-documentation \ |
slaxemulator@10231 | 29 $CONFIGURE_ARGS && |
pankso@2365 | 30 make && |
erjo@9952 | 31 make DESTDIR=$DESTDIR install |
pankso@2365 | 32 } |
pankso@2365 | 33 |
pankso@2365 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2365 | 35 genpkg_rules() |
pankso@2365 | 36 { |
pankso@2365 | 37 mkdir -p $fs/usr/lib |
pascal@14718 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@2365 | 39 } |