wok annotate dialog/receipt @ rev 13091
get-wifi-firmware: remove hard coded version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 26 11:55:39 2012 +0200 (2012-06-26) |
parents | b226995ee0d0 |
children | 76b72f1ad63c |
rev | line source |
---|---|
pankso@35 | 1 # SliTaz package receipt. |
pankso@35 | 2 |
pankso@35 | 3 PACKAGE="dialog" |
slaxemulator@11097 | 4 VERSION="1.1-20110707" |
pankso@211 | 5 CATEGORY="base-system" |
pankso@35 | 6 SHORT_DESC="Script-interpreter which provides a set of curses widgets." |
pankso@35 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@1482 | 8 TARBALL="$PACKAGE-$VERSION.tgz" |
slaxemulator@11097 | 9 WEB_SITE="http://invisible-island.net/dialog/" |
pascal@1482 | 10 WGET_URL="ftp://invisible-island.net/$PACKAGE/$TARBALL" |
pankso@12840 | 11 HOST_ARCH="i486 arm" |
pankso@12840 | 12 |
pankso@12840 | 13 DEPENDS="ncursesw" |
pankso@12840 | 14 BUILD_DEPENDS="ncursesw-dev" |
pankso@35 | 15 |
pankso@35 | 16 # Rules to configure and make the package. |
pankso@35 | 17 compile_rules() |
pankso@35 | 18 { |
pankso@35 | 19 cd $src |
pankso@4895 | 20 ./configure \ |
pankso@4895 | 21 --prefix=/usr \ |
pankso@4895 | 22 --sysconfdir=/etc \ |
pankso@4895 | 23 --mandir=/usr/share/man \ |
pankso@4895 | 24 --with-ncursesw \ |
pankso@4895 | 25 --enable-widec \ |
pankso@4895 | 26 $CONFIGURE_ARGS && |
pankso@12840 | 27 make && make DESTDIR=$DESTDIR install |
pankso@35 | 28 } |
pankso@35 | 29 |
pankso@35 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@35 | 31 genpkg_rules() |
pankso@35 | 32 { |
pankso@4895 | 33 mkdir -p $fs/usr $fs/etc |
pankso@12840 | 34 cp -a $install/usr/bin $fs/usr |
pankso@35 | 35 # Config file. |
slaxemulator@11097 | 36 cp $stuff/dialogrc $fs/etc |
pankso@35 | 37 } |