wok-6.x annotate popt/receipt @ rev 10963
opencc: Fixed WGET_URL.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Sep 20 12:34:12 2011 +0000 (2011-09-20) |
parents | 92f897d5e895 |
children | 51a1ebbda768 |
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" |
pankso@27 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@969 | 9 WEB_SITE="http://rpm5.org/" |
pascal@4744 | 10 WGET_URL="${WEB_SITE}files/$PACKAGE/$TARBALL" |
pankso@27 | 11 |
pankso@27 | 12 # Rules to configure and make the package. |
pankso@27 | 13 compile_rules() |
pankso@27 | 14 { |
pankso@27 | 15 cd $src |
pankso@969 | 16 ./configure \ |
pankso@969 | 17 --prefix=/usr \ |
pankso@969 | 18 --infodir=/usr/share/info \ |
pankso@969 | 19 --mandir=/usr/share/man \ |
pascal@4744 | 20 $CONFIGURE_ARGS && |
pascal@4744 | 21 make && |
pankso@27 | 22 make DESTDIR=$PWD/_pkg install |
pankso@27 | 23 } |
pankso@27 | 24 |
pankso@27 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 26 genpkg_rules() |
pankso@27 | 27 { |
pankso@969 | 28 mkdir -p $fs/usr/lib |
pankso@27 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@27 | 30 } |