wok-next annotate nano/receipt @ rev 18686
Add tidy-html5, csstidy, rcssmin
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 10 01:58:32 2015 +0200 (2015-12-10) |
parents | f9a21d0369a2 |
children | d1139a9dbf88 |
rev | line source |
---|---|
pankso@19 | 1 # SliTaz package receipt. |
pankso@19 | 2 |
pankso@19 | 3 PACKAGE="nano" |
psychomaniak@18649 | 4 VERSION="2.4.3" |
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 } |