wok view popt/receipt @ rev 25625

Add opendkim (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 17:14:09 2023 +0000 (12 months ago)
parents 8dad5987f564
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;s|-release||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./autogen.sh &&
30 ./configure $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_files *.so*
39 }