wok-next view nano/receipt @ rev 20819
palemoon: remove again -> tomorrow is another day for finding -> fatal error: sys/int_types.h
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 20:26:17 2018 +0000 (2018-06-13) |
parents | 0e7893ac206d |
children | e7a485521d6a |
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 --disable-wrapping-as-root \
20 --enable-utf8 \
21 $CONFIGURE_ARGS &&
22 make && make install || exit 1
24 # Config file.
25 install -Dm644 $src/doc/nanorc.sample $install/etc/nanorc
27 cook_pick_docs doc/texinfo/nano.html
28 }
30 genpkg_rules() {
31 copy etc/ bin/ nano/
33 # Shrink
34 for i in $fs/usr/share/nano/*.nanorc; do
35 sed -i '/^#/d;/^$/d' $i
36 done
37 DEPENDS="libmagic ncurses zlib"
38 TAGS="text-editor"
39 SUGGESTED="gpm"
40 }