wok annotate dialog/receipt @ rev 18562
Up slitaz-tools(957)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Nov 08 22:10:36 2015 +0200 (2015-11-08) |
parents | 76b72f1ad63c |
children | 81d24f5c2cc9 |
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@14996 | 8 LICENSE="LGPL2.1" |
pascal@1482 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
slaxemulator@11097 | 10 WEB_SITE="http://invisible-island.net/dialog/" |
pascal@1482 | 11 WGET_URL="ftp://invisible-island.net/$PACKAGE/$TARBALL" |
pankso@12840 | 12 HOST_ARCH="i486 arm" |
pankso@12840 | 13 |
pankso@12840 | 14 DEPENDS="ncursesw" |
pankso@12840 | 15 BUILD_DEPENDS="ncursesw-dev" |
pankso@35 | 16 |
pankso@35 | 17 # Rules to configure and make the package. |
pankso@35 | 18 compile_rules() |
pankso@35 | 19 { |
pankso@35 | 20 cd $src |
pankso@4895 | 21 ./configure \ |
pankso@4895 | 22 --prefix=/usr \ |
pankso@4895 | 23 --sysconfdir=/etc \ |
pankso@4895 | 24 --mandir=/usr/share/man \ |
pankso@4895 | 25 --with-ncursesw \ |
al@16546 | 26 --enable-nls \ |
pankso@4895 | 27 --enable-widec \ |
pankso@4895 | 28 $CONFIGURE_ARGS && |
pankso@12840 | 29 make && make DESTDIR=$DESTDIR install |
pankso@35 | 30 } |
pankso@35 | 31 |
pankso@35 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@35 | 33 genpkg_rules() |
pankso@35 | 34 { |
pankso@4895 | 35 mkdir -p $fs/usr $fs/etc |
pankso@12840 | 36 cp -a $install/usr/bin $fs/usr |
pankso@35 | 37 # Config file. |
slaxemulator@11097 | 38 cp $stuff/dialogrc $fs/etc |
pankso@35 | 39 } |