wok-6.x annotate dialog/receipt @ rev 11226
Add from wok-undigest: nvclock ola ola-dev owfs oxine protobuf protobuf-dev
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 04 11:10:38 2011 +0100 (2011-11-04) |
parents | 15ae0a387b69 |
children | 2002ed6c084c |
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" |
pankso@4895 | 8 DEPENDS="ncursesw" |
pankso@4895 | 9 BUILD_DEPENDS="ncursesw-dev" |
pascal@1482 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
slaxemulator@11097 | 11 WEB_SITE="http://invisible-island.net/dialog/" |
pascal@1482 | 12 WGET_URL="ftp://invisible-island.net/$PACKAGE/$TARBALL" |
pankso@35 | 13 |
pankso@35 | 14 # Rules to configure and make the package. |
pankso@35 | 15 compile_rules() |
pankso@35 | 16 { |
pankso@35 | 17 cd $src |
pankso@4895 | 18 ./configure \ |
pankso@4895 | 19 --prefix=/usr \ |
pankso@4895 | 20 --sysconfdir=/etc \ |
pankso@4895 | 21 --mandir=/usr/share/man \ |
pankso@4895 | 22 --with-ncursesw \ |
pankso@4895 | 23 --enable-widec \ |
pankso@4895 | 24 $CONFIGURE_ARGS && |
pascal@1482 | 25 make && |
slaxemulator@11097 | 26 make DESTDIR=$DESTDIR install |
pankso@35 | 27 } |
pankso@35 | 28 |
pankso@35 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@35 | 30 genpkg_rules() |
pankso@35 | 31 { |
pankso@4895 | 32 mkdir -p $fs/usr $fs/etc |
pankso@35 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@35 | 34 # Config file. |
slaxemulator@11097 | 35 cp $stuff/dialogrc $fs/etc |
pankso@35 | 36 } |