wok-6.x view dialog/receipt @ rev 3509

Add a check in linux to see if all modules in .config are categorized in linux-* pkgs
author Rohit Joshi <jozee@slitaz.org>
date Fri Jun 19 15:25:48 2009 +0000 (2009-06-19)
parents 509971350c3b
children 7ab0fdcc255d
line source
1 # SliTaz package receipt.
3 PACKAGE="dialog"
4 VERSION="1.1-20071028"
5 CATEGORY="base-system"
6 SHORT_DESC="Script-interpreter which provides a set of curses widgets."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="ncurses"
9 BUILD_DEPENDS="ncurses-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 --enable-nls --prefix=/usr \
19 --sysconfdir=/etc --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/locale $fs/etc
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
31 strip -s $fs/usr/bin/*
32 # Config file.
33 cp stuff/dialogrc $fs/etc
34 }