wok-current annotate nano/receipt @ rev 18235
Up: tazinst(63): fix "/dev/sdb or /dev/sdb or ... /dev/sdb" bug
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 24 14:46:51 2015 +0300 (2015-07-24) |
parents | 3b8a7f962bd0 |
children | 6fa921084d5e |
rev | line source |
---|---|
pankso@19 | 1 # SliTaz package receipt. |
pankso@19 | 2 |
pankso@19 | 3 PACKAGE="nano" |
al@17862 | 4 VERSION="2.4.0" |
pankso@201 | 5 CATEGORY="utilities" |
al@14334 | 6 SHORT_DESC="GNU Nano Text Editor" |
pankso@19 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
al@14334 | 9 WEB_SITE="http://www.nano-editor.org/" |
pankso@9675 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@17862 | 11 WGET_URL="${WEB_SITE}dist/v${VERSION%.*}/$TARBALL" |
pankso@9675 | 12 TAGS="text-editor" |
pankso@12837 | 13 HOST_ARCH="i486 arm" |
pankso@9675 | 14 |
al@17862 | 15 DEPENDS="ncursesw zlib" |
al@14334 | 16 SUGGESTED="gpm" |
al@17862 | 17 BUILD_DEPENDS="ncursesw-dev zlib-dev groff" |
pankso@19 | 18 |
pankso@19 | 19 # Rules to configure and make the package. |
pankso@19 | 20 compile_rules() |
pankso@19 | 21 { |
al@14334 | 22 ./configure \ |
al@14334 | 23 --sysconfdir=/etc \ |
al@14334 | 24 --localstatedir=/var \ |
pankso@16334 | 25 --enable-utf8 \ |
pankso@16079 | 26 $CONFIGURE_ARGS $ARCH_ARGS && |
pankso@16079 | 27 make && make install |
pankso@19 | 28 } |
pankso@19 | 29 |
pankso@19 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@19 | 31 genpkg_rules() |
pankso@19 | 32 { |
al@14334 | 33 mkdir -p \ |
al@14334 | 34 $fs/etc \ |
al@14334 | 35 $fs/usr/share |
pankso@12837 | 36 cp -a $install/usr/bin $fs/usr |
pankso@12837 | 37 cp -a $install/usr/share/nano $fs/usr/share |
al@17862 | 38 |
pankso@9675 | 39 # Config file. |
al@17862 | 40 cp $src/doc/nanorc.sample $fs/etc/nanorc |
al@17862 | 41 cd $fs; patch -p0 < $stuff/nano.patch |
pankso@19 | 42 } |