wok view dialog/receipt @ rev 20095
slitaz-base-files: don't backup-restore the whole /etc ($CONFIG_FILES variable exist), allow to update /etc/init.d/rc.functions
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Oct 05 23:51:00 2017 +0300 (2017-10-05) |
parents | 77fb5713f10e |
children | a78610b2eb47 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dialog"
4 VERSION="1.3-20160424"
5 CATEGORY="base-system"
6 SHORT_DESC="Script-interpreter which provides a set of curses widgets."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://invisible-island.net/dialog/"
11 WGET_URL="ftp://invisible-island.net/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="ncursesw"
15 BUILD_DEPENDS="ncursesw-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --mandir=/usr/share/man \
24 --with-ncursesw \
25 --enable-nls \
26 --enable-widec \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr $fs/etc
35 cp -a $install/usr/bin $fs/usr
36 # Config file.
37 cp $stuff/dialogrc $fs/etc
38 }