wok-6.x view nano/receipt @ rev 19209
Update zim (0.65)
author | Lucas Levrel <llevrel@yahoo.fr> |
---|---|
date | Sun Jun 12 21:25:27 2016 +0200 (2016-06-12) |
parents | 6fa921084d5e |
children | 80053dcc1c1d |
line source
1 # SliTaz package receipt.
3 PACKAGE="nano"
4 VERSION="2.4.3"
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 # Handle cross compilation
20 case "$ARCH" in
21 arm*) BUILD_DEPENDS="ncursesw-dev zlib-dev" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --sysconfdir=/etc \
29 --localstatedir=/var \
30 --enable-utf8 \
31 $CONFIGURE_ARGS $ARCH_ARGS &&
32 make && 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
44 # Config file.
45 cp $src/doc/nanorc.sample $fs/etc/nanorc
46 cd $fs; patch -p0 < $stuff/nano.patch
47 }