wok-next view dialog/receipt @ rev 5295

openssh*: fix genpkg_rules
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 18 23:05:05 2010 +0200 (2010-04-18)
parents 3d99ecce2d4b
children 16bd725871d8
line source
1 # SliTaz package receipt.
3 PACKAGE="dialog"
4 VERSION="1.1-20100119"
5 CATEGORY="base-system"
6 SHORT_DESC="Script-interpreter which provides a set of curses widgets."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="ncursesw"
9 BUILD_DEPENDS="ncursesw-dev"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WEB_SITE="http://invisible-island.net/$PACKAGE/"
12 WGET_URL="ftp://invisible-island.net/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --mandir=/usr/share/man \
22 --with-ncursesw \
23 --enable-widec \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr $fs/etc
33 cp -a $_pkg/usr/bin $fs/usr
34 # Config file.
35 cp stuff/dialogrc $fs/etc
36 }