wok-6.x annotate nano/receipt @ rev 16646

gnome-vfs-dev: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 13 06:18:31 2014 +0000 (2014-05-13)
parents 5613d51e1fdf
children 3b8a7f962bd0
rev   line source
pankso@19 1 # SliTaz package receipt.
pankso@19 2
pankso@19 3 PACKAGE="nano"
slaxemulator@7355 4 VERSION="2.2.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"
al@14334 11 WGET_URL="${WEB_SITE}dist/v2.2/$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 }