wok-stable annotate units/receipt @ rev 6573
lighttpd: fix 36897b07aa3c commit
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 08 21:28:00 2010 +0200 (2010-10-08) |
parents | 449135e8deae |
children | 35a258986c98 |
rev | line source |
---|---|
paul@4538 | 1 # SliTaz package receipt. |
paul@4538 | 2 |
paul@4538 | 3 PACKAGE="units" |
paul@4538 | 4 VERSION="1.87" |
paul@4538 | 5 CATEGORY="utilities" |
paul@4538 | 6 SHORT_DESC="Units converter." |
paul@4538 | 7 MAINTAINER="paul@slitaz.org" |
pascal@5007 | 8 DEPENDS="readline ncurses" |
paul@4538 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@4538 | 10 WEB_SITE="http://www.gnu.org" |
paul@4538 | 11 WGET_URL="http://ftp.gnu.org/gnu/units/$TARBALL" |
paul@4538 | 12 |
paul@4538 | 13 # Rules to configure and make the package. |
paul@4538 | 14 compile_rules() |
paul@4538 | 15 { |
paul@4538 | 16 cd $src |
paul@4538 | 17 ./configure \ |
paul@4538 | 18 --prefix=/usr \ |
paul@4538 | 19 --infodir=/usr/share/info \ |
paul@4538 | 20 --mandir=/usr/share/man \ |
paul@4538 | 21 $CONFIGURE_ARGS && |
paul@4538 | 22 make && make DESTDIR=$PWD/_pkg install |
paul@4538 | 23 } |
paul@4538 | 24 |
paul@4538 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4538 | 26 genpkg_rules() |
paul@4538 | 27 { |
paul@4538 | 28 mkdir -p $fs/usr/share |
paul@4538 | 29 cp -a $_pkg/usr/bin $fs/usr |
paul@4538 | 30 cp $_pkg/usr/share/units.dat $fs/usr/share |
paul@4538 | 31 } |
paul@4538 | 32 |