wok-4.x annotate units/receipt @ rev 10659

erlang: fix wrong bdep
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 27 07:31:03 2011 +0200 (2011-05-27)
parents b2ed9ea6a8f2
children
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
slaxemulator@10308 13 DEPENDS="readline ncurses"
slaxemulator@10308 14 BUILD_DEPENDS="readline-dev ncurses-dev"
slaxemulator@10308 15
paul@4538 16 # Rules to configure and make the package.
paul@4538 17 compile_rules()
paul@4538 18 {
paul@4538 19 cd $src
slaxemulator@10308 20 ./configure $CONFIGURE_ARGS &&
slaxemulator@8368 21 make && make -j1 DESTDIR=$DESTDIR install
paul@4538 22 }
paul@4538 23
paul@4538 24 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@4538 25 genpkg_rules()
paul@4538 26 {
paul@4538 27 mkdir -p $fs/usr/share
paul@4538 28 cp -a $_pkg/usr/bin $fs/usr
paul@4538 29 cp $_pkg/usr/share/units.dat $fs/usr/share
paul@4538 30 }
paul@4538 31