wok-6.x view nano/receipt @ rev 5106

midori: disable-unique
author Rohit Joshi <jozee@slitaz.org>
date Wed Mar 17 15:12:31 2010 +0000 (2010-03-17)
parents 82cd8e77939c
children 2c74efb0b0f8
line source
1 # SliTaz package receipt.
3 PACKAGE="nano"
4 VERSION="2.0.9"
5 CATEGORY="utilities"
6 SHORT_DESC="GNU Nano Text Editor."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="ncursesw"
9 BUILD_DEPENDS="ncursesw-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.nano-editor.org/"
12 WGET_URL="http://www.nano-editor.org/dist/v2.0/$TARBALL"
13 TAGS="text-editor"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --sysconfdir=/etc \
24 --enable-all \
25 --enable-extra \
26 --enable-utf8 \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share $fs/etc
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/share/nano $fs/usr/share
38 # Config file.
39 cp stuff/nanorc $fs/etc
40 }