wok-current annotate popt/receipt @ rev 25442
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 02 16:30:36 2022 +0000 (2022-09-02) |
parents | 5d79829fa876 |
children | 5926178cd6fa |
rev | line source |
---|---|
pankso@27 | 1 # SliTaz package receipt. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="popt" |
Hans-G?nter@25145 | 4 VERSION="1.18" |
pankso@211 | 5 CATEGORY="system-tools" |
pankso@27 | 6 SHORT_DESC="Library for parsing command line options." |
pankso@27 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15375 | 8 LICENSE="MIT" |
Hans-G?nter@25145 | 9 WEB_SITE="https://github.com/rpm-software-management/popt" |
Hans-G?nter@25145 | 10 |
pankso@27 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@25145 | 12 WGET_URL="https://github.com/rpm-software-management/$PACKAGE/archive/refs/tags/$PACKAGE-$VERSION-release.tar.gz" |
Hans-G?nter@25145 | 13 |
Hans-G?nter@25145 | 14 SUGGESTED="popt-lang" |
Hans-G?nter@25145 | 15 BUILD_DEPENDS="automake libtool" |
Hans-G?nter@25145 | 16 |
pankso@15988 | 17 HOST_ARCH="i486 arm" |
pankso@27 | 18 |
pascal@24072 | 19 current_version() |
pascal@24072 | 20 { |
pascal@24072 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 23 } |
pascal@24072 | 24 |
pankso@27 | 25 # Rules to configure and make the package. |
pankso@27 | 26 compile_rules() |
pankso@27 | 27 { |
Hans-G?nter@25145 | 28 ./autogen.sh && |
pankso@15988 | 29 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@25145 | 30 make && |
Hans-G?nter@25145 | 31 make install |
pankso@27 | 32 } |
pankso@27 | 33 |
pankso@27 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 35 genpkg_rules() |
pankso@27 | 36 { |
Hans-G?nter@25145 | 37 cook_copy_files *.so* |
pankso@27 | 38 } |