wok-6.x view popt/receipt @ rev 25301

updated sg3_utils, sg3_utils-dev and libsgutils2 (1.45 -> 1.47)
author Hans-G?nter Theisgen
date Wed Jul 20 08:07:57 2022 +0100 (2022-07-20)
parents 5d79829fa876
children
line source
1 # SliTaz package receipt.
3 PACKAGE="popt"
4 VERSION="1.18"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library for parsing command line options."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/rpm-software-management/popt"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/rpm-software-management/$PACKAGE/archive/refs/tags/$PACKAGE-$VERSION-release.tar.gz"
14 SUGGESTED="popt-lang"
15 BUILD_DEPENDS="automake libtool"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh &&
29 ./configure $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_files *.so*
38 }