wok-current view nano/receipt @ rev 1372
Add qmake
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Thu Sep 11 19:08:58 2008 +0000 (2008-09-11) |
parents | 9cc179346e69 |
children | c4bc94f1fe55 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nano"
4 VERSION="2.0.7"
5 CATEGORY="utilities"
6 SHORT_DESC="GNU Nano Text Editor."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="ncurses"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.nano-editor.org/"
11 WGET_URL="http://www.nano-editor.org/dist/v2.0/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --enable-all --enable-extra --prefix=/usr \
18 --infodir=/usr/share/info --mandir=/usr/share/man \
19 --sysconfdir=/etc $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share $fs/etc
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/nano $fs/usr/share
30 # Config file.
31 cp stuff/nanorc $fs/etc
32 }