wok annotate popt/receipt @ rev 25615
Add libslirp (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 03 12:03:26 2023 +0000 (18 months ago) |
parents | 8dad5987f564 |
children |
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@25603 | 19 # What is the latest version available today? |
pascal@24072 | 20 current_version() |
pascal@24072 | 21 { |
pascal@25603 | 22 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@25603 | 23 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;s|-release||;q' |
pascal@24072 | 24 } |
pascal@24072 | 25 |
pankso@27 | 26 # Rules to configure and make the package. |
pankso@27 | 27 compile_rules() |
pankso@27 | 28 { |
Hans-G?nter@25145 | 29 ./autogen.sh && |
pankso@15988 | 30 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@25145 | 31 make && |
Hans-G?nter@25145 | 32 make install |
pankso@27 | 33 } |
pankso@27 | 34 |
pankso@27 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 36 genpkg_rules() |
pankso@27 | 37 { |
Hans-G?nter@25145 | 38 cook_copy_files *.so* |
pankso@27 | 39 } |