wok-stable view nano/receipt @ rev 11395
Compat: re-implement tazwok specific code into linux receipt.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 10 06:08:28 2011 +0100 (2011-12-10) |
parents | 172046663dc8 |
children |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.nano-editor.org/"
10 WGET_URL="$WEB_SITE/dist/v2.2/$TARBALL"
11 TAGS="text-editor"
13 DEPENDS="ncursesw"
14 BUILD_DEPENDS="ncursesw-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --enable-all \
22 --enable-extra \
23 --enable-utf8 \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share $fs/etc
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/nano $fs/usr/share
34 # Config file.
35 cp $stuff/nanorc $fs/etc
36 }