wok-next annotate popt/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | a3c581bf52b8 |
children | d5aab818505e |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="popt" |
slaxemulator@6273 | 4 VERSION="1.16" |
pankso@211 | 5 CATEGORY="system-tools" |
al@19693 | 6 SHORT_DESC="Library for parsing command line options" |
pankso@27 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15375 | 8 LICENSE="MIT" |
al@20906 | 9 WEB_SITE="https://directory.fsf.org/wiki/Popt" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/popt.html" |
al@19693 | 11 |
pankso@27 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@15988 | 13 WGET_URL="http://rpm5.org/files/popt/$TARBALL" |
pankso@27 | 14 |
al@19675 | 15 BUILD_DEPENDS="gettext" |
al@19741 | 16 SPLIT="popt-dev" |
al@19675 | 17 |
al@20443 | 18 compile_rules() { |
al@19693 | 19 ./configure \ |
al@19693 | 20 --disable-static \ |
al@19693 | 21 $CONFIGURE_ARGS && |
al@20604 | 22 fix libtool && |
al@20604 | 23 make && |
al@20604 | 24 make install |
pankso@27 | 25 } |
pankso@27 | 26 |
al@20443 | 27 genpkg_rules() { |
al@19741 | 28 case $PACKAGE in |
al@20443 | 29 popt) copy @std;; |
al@19741 | 30 *-dev) copy @dev;; |
al@19741 | 31 esac |
pankso@27 | 32 } |