wok-next annotate nano/receipt @ rev 17815
Add xmlto
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sat Mar 21 12:56:32 2015 -0300 (2015-03-21) |
parents | fd7c7b825eb9 |
children | f9a21d0369a2 |
rev | line source |
---|---|
pankso@19 | 1 # SliTaz package receipt. |
pankso@19 | 2 |
pankso@19 | 3 PACKAGE="nano" |
devl547@17575 | 4 VERSION="2.3.6" |
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" |
devl547@17575 | 11 WGET_URL="${WEB_SITE}dist/v2.3/$TARBALL" |
pankso@9675 | 12 TAGS="text-editor" |
pankso@12837 | 13 HOST_ARCH="i486 arm" |
pankso@9675 | 14 |
al@14334 | 15 TRACKER="http://sourcewell.berlios.de/appbyid.php?id=1733" |
al@14334 | 16 VERSION_NOTE="latest stable" |
al@14334 | 17 |
pankso@4894 | 18 DEPENDS="ncursesw" |
al@14334 | 19 SUGGESTED="gpm" |
pankso@4894 | 20 BUILD_DEPENDS="ncursesw-dev" |
pankso@19 | 21 |
pankso@19 | 22 # Rules to configure and make the package. |
pankso@19 | 23 compile_rules() |
pankso@19 | 24 { |
al@14334 | 25 ./configure \ |
al@14334 | 26 --sysconfdir=/etc \ |
al@14334 | 27 --localstatedir=/var \ |
pankso@16334 | 28 --enable-utf8 \ |
pankso@16079 | 29 $CONFIGURE_ARGS $ARCH_ARGS && |
pankso@16079 | 30 make && make install |
pankso@19 | 31 } |
pankso@19 | 32 |
pankso@19 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@19 | 34 genpkg_rules() |
pankso@19 | 35 { |
al@14334 | 36 mkdir -p \ |
al@14334 | 37 $fs/etc \ |
al@14334 | 38 $fs/usr/share |
pankso@12837 | 39 cp -a $install/usr/bin $fs/usr |
pankso@12837 | 40 cp -a $install/usr/share/nano $fs/usr/share |
pankso@9675 | 41 # Config file. |
pankso@9675 | 42 cp $stuff/nanorc $fs/etc |
pankso@19 | 43 } |