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

marble: one desktop entry only (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 26 13:11:10 2015 +0100 (2015-12-26)
parents f9a21d0369a2
children d1139a9dbf88
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 # 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 }