wok-6.x annotate units/receipt @ rev 10108
Up: sqlite to 3.7.6.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 15:24:48 2011 +0000 (2011-05-20) |
parents | 35a258986c98 |
children | a1076cb2b336 |
rev | line source |
---|---|
paul@4538 | 1 # SliTaz package receipt. |
paul@4538 | 2 |
paul@4538 | 3 PACKAGE="units" |
paul@7803 | 4 VERSION="1.88" |
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 |
slaxemulator@8368 | 17 ./configure && |
slaxemulator@8368 | 18 make && make -j1 DESTDIR=$DESTDIR install |
paul@4538 | 19 } |
paul@4538 | 20 |
paul@4538 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4538 | 22 genpkg_rules() |
paul@4538 | 23 { |
paul@4538 | 24 mkdir -p $fs/usr/share |
paul@4538 | 25 cp -a $_pkg/usr/bin $fs/usr |
paul@4538 | 26 cp $_pkg/usr/share/units.dat $fs/usr/share |
paul@4538 | 27 } |
paul@4538 | 28 |