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

nano: fix nanorc path, tiny edits
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 13 15:06:57 2013 +0000 (2013-04-13)
parents 05a0ed0c2af0
children 2b9f96603415
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 WEB_SITE="http://www.nano-editor.org/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="${WEB_SITE}dist/v2.2/$TARBALL"
11 TAGS="text-editor"
12 HOST_ARCH="i486 arm"
14 TRACKER="http://sourcewell.berlios.de/appbyid.php?id=1733"
15 VERSION_NOTE="latest stable"
17 DEPENDS="ncursesw"
18 SUGGESTED="gpm"
19 BUILD_DEPENDS="ncursesw-dev"
21 export LDFLAGS="-L/usr/cross/arm/lib -L/usr/cross/arm/usr/lib"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --sysconfdir=/etc \
28 --localstatedir=/var \
29 --enable-utf8 \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p \
39 $fs/etc \
40 $fs/usr/share
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/share/nano $fs/usr/share
43 # Config file.
44 cp $stuff/nanorc $fs/etc
45 }