wok-current view nano/receipt @ rev 17040
Add tramys
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 19 09:21:54 2014 +0000 (2014-08-19) |
parents | 5613d51e1fdf |
children | 3b8a7f962bd0 |
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 LICENSE="GPL3"
9 WEB_SITE="http://www.nano-editor.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="${WEB_SITE}dist/v2.2/$TARBALL"
12 TAGS="text-editor"
13 HOST_ARCH="i486 arm"
15 TRACKER="http://sourcewell.berlios.de/appbyid.php?id=1733"
16 VERSION_NOTE="latest stable"
18 DEPENDS="ncursesw"
19 SUGGESTED="gpm"
20 BUILD_DEPENDS="ncursesw-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --sysconfdir=/etc \
27 --localstatedir=/var \
28 --enable-utf8 \
29 $CONFIGURE_ARGS $ARCH_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p \
37 $fs/etc \
38 $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/nano $fs/usr/share
41 # Config file.
42 cp $stuff/nanorc $fs/etc
43 }