wok-next view nano/receipt @ rev 20443
The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 24 16:17:33 2018 +0200 (2018-02-24) |
parents | 6c12ac1293fc |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="nano"
4 VERSION="2.6.3"
5 CATEGORY="utilities"
6 SHORT_DESC="Nano Text Editor"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://nano-editor.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="${WEB_SITE}dist/v${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS_arm="ncurses-dev zlib-dev"
15 BUILD_DEPENDS="gettext ncurses-dev zlib-dev groff libmagic-dev"
17 compile_rules() {
18 ./configure \
19 --sysconfdir=/etc \
20 --localstatedir=/var \
21 --disable-wrapping-as-root \
22 --enable-utf8 \
23 $CONFIGURE_ARGS $ARCH_ARGS &&
24 make && make install || exit 1
26 # Config file.
27 mkdir -p $install/etc
28 cp $src/doc/nanorc.sample $install/etc/nanorc
30 install -v -m644 doc/texinfo/nano.html $install/usr/share/doc/nano-$VERSION
31 }
33 genpkg_rules() {
34 copy etc/ bin/ nano/
36 # Shrink
37 for i in $fs/usr/share/nano/*.nanorc; do
38 sed -i '/^#/d;/^$/d' $i
39 done
40 DEPENDS="libmagic ncurses zlib"
41 TAGS="text-editor"
42 SUGGESTED="gpm"
43 }