wok-current annotate popt/receipt @ rev 18507
mozo: update compile rules
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sat Oct 17 13:39:12 2015 -0300 (2015-10-17) |
parents | 51a1ebbda768 |
children | a78610b2eb47 |
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" |
pankso@15988 | 10 WEB_SITE="http://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 |
pankso@27 | 14 # Rules to configure and make the package. |
pankso@27 | 15 compile_rules() |
pankso@27 | 16 { |
pankso@15988 | 17 ./configure $CONFIGURE_ARGS && |
pankso@15988 | 18 make && make install |
pankso@27 | 19 } |
pankso@27 | 20 |
pankso@27 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 22 genpkg_rules() |
pankso@27 | 23 { |
pankso@969 | 24 mkdir -p $fs/usr/lib |
pascal@15375 | 25 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@27 | 26 } |