wok-current view popt/receipt @ rev 25601

use gcc49-lib-base for openldap-dev
author Stanislas Leduc <shann@slitaz.org>
date Fri Sep 01 12:04:33 2023 +0000 (16 months ago)
parents 5d79829fa876
children 5926178cd6fa
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 }