wok view nano/receipt @ rev 18603

slitaz-tools-boxes: config file?
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 16 03:00:15 2015 +0200 (2015-11-16)
parents 3b8a7f962bd0
children 6fa921084d5e
line source
1 # SliTaz package receipt.
3 PACKAGE="nano"
4 VERSION="2.4.0"
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/v${VERSION%.*}/$TARBALL"
12 TAGS="text-editor"
13 HOST_ARCH="i486 arm"
15 DEPENDS="ncursesw zlib"
16 SUGGESTED="gpm"
17 BUILD_DEPENDS="ncursesw-dev zlib-dev groff"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --enable-utf8 \
26 $CONFIGURE_ARGS $ARCH_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p \
34 $fs/etc \
35 $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/nano $fs/usr/share
39 # Config file.
40 cp $src/doc/nanorc.sample $fs/etc/nanorc
41 cd $fs; patch -p0 < $stuff/nano.patch
42 }