wok view popt/receipt @ rev 24187
updated perl-compress-raw-zlib (2.093 -> 2.101)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 14:17:26 2021 +0100 (2021-12-31) |
parents | a78610b2eb47 |
children | 8dad5987f564 |
line source
1 # SliTaz package receipt.
3 PACKAGE="popt"
4 VERSION="1.16"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library for parsing command line options."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://directory.fsf.org/project/popt/"
11 WGET_URL="http://rpm5.org/files/popt/$TARBALL"
12 HOST_ARCH="i486 arm"
14 current_version()
15 {
16 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
17 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }