wok-current view nano/receipt @ rev 14776

Up postfix-mysql (2.10.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 30 12:23:53 2013 +0200 (2013-06-30)
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 }