wok-current view nano/receipt @ rev 17683
Up crosstool-ng (1.20.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 20 21:41:13 2015 +0100 (2015-02-20) |
parents | fd7c7b825eb9 |
children | f9a21d0369a2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nano"
4 VERSION="2.3.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.3/$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 }