wok annotate popt/receipt @ rev 24408
ncurses-dev: copy pkgconfig
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 09 14:18:05 2022 +0100 (2022-02-09) |
parents | a78610b2eb47 |
children | 8dad5987f564 |
rev | line source |
---|---|
pankso@27 | 1 # SliTaz package receipt. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="popt" |
slaxemulator@6273 | 4 VERSION="1.16" |
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" |
pankso@27 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20669 | 10 WEB_SITE="https://directory.fsf.org/project/popt/" |
pankso@15988 | 11 WGET_URL="http://rpm5.org/files/popt/$TARBALL" |
pankso@15988 | 12 HOST_ARCH="i486 arm" |
pankso@27 | 13 |
pascal@24072 | 14 current_version() |
pascal@24072 | 15 { |
pascal@24072 | 16 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 17 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 18 } |
pascal@24072 | 19 |
pankso@27 | 20 # Rules to configure and make the package. |
pankso@27 | 21 compile_rules() |
pankso@27 | 22 { |
pankso@15988 | 23 ./configure $CONFIGURE_ARGS && |
pankso@15988 | 24 make && make install |
pankso@27 | 25 } |
pankso@27 | 26 |
pankso@27 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 28 genpkg_rules() |
pankso@27 | 29 { |
pankso@969 | 30 mkdir -p $fs/usr/lib |
pascal@15375 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@27 | 32 } |