wok annotate libsigc++/receipt @ rev 25609
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 20 14:03:05 2023 +0000 (16 months ago) |
parents | eeba7ab1dffe |
children |
rev | line source |
---|---|
pankso@137 | 1 # SliTaz package receipt. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="libsigc++" |
gokhlayeh@11385 | 4 VERSION="2.2.10" |
pankso@211 | 5 CATEGORY="system-tools" |
pankso@137 | 6 SHORT_DESC="Callback Framework for C++" |
pankso@137 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14718 | 8 LICENSE="LGPL2.1" |
slaxemulator@7088 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20674 | 10 WEB_SITE="https://developer.gnome.org/libsigc++/" |
slaxemulator@12386 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@16477 | 12 HOST_ARCH="i486 arm" |
pankso@137 | 13 |
pascal@14718 | 14 BUILD_DEPENDS="m4" |
pascal@14718 | 15 |
pascal@24072 | 16 current_version() |
pascal@24072 | 17 { |
pascal@24072 | 18 wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \ |
pascal@24072 | 19 sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \ |
pascal@24072 | 20 sed "/=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q |
pascal@24072 | 21 } |
pascal@24072 | 22 |
pankso@137 | 23 # Rules to configure and make the package. |
pankso@137 | 24 compile_rules() |
pankso@137 | 25 { |
pankso@137 | 26 ./configure \ |
pascal@2555 | 27 $CONFIGURE_ARGS && |
pankso@16477 | 28 make && make install |
pankso@137 | 29 } |
pankso@137 | 30 |
pankso@137 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@137 | 32 genpkg_rules() |
pankso@137 | 33 { |
pankso@137 | 34 mkdir -p $fs/usr/lib |
pascal@14718 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@137 | 36 } |