wok-4.x view nano/receipt @ rev 7355
Up: nano to 2.2.6.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Nov 23 01:28:13 2010 +0000 (2010-11-23) |
parents | daecaab6c005 |
children | a55dc7180253 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nano"
4 VERSION="2.2.6"
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.2/$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 }