wok-current view nano/receipt @ rev 19170

Fix typo in $MAINTAINER
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 02 11:40:11 2016 +0300 (2016-06-02)
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 }