wok annotate nano/receipt @ rev 14814

Up: squidquardmgr (1.12)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Jul 17 13:39:14 2013 +0200 (2013-07-17)
parents 05a0ed0c2af0
children 2b9f96603415
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"
al@14334 8 WEB_SITE="http://www.nano-editor.org/"
pankso@9675 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@14334 10 WGET_URL="${WEB_SITE}dist/v2.2/$TARBALL"
pankso@9675 11 TAGS="text-editor"
pankso@12837 12 HOST_ARCH="i486 arm"
pankso@9675 13
al@14334 14 TRACKER="http://sourcewell.berlios.de/appbyid.php?id=1733"
al@14334 15 VERSION_NOTE="latest stable"
al@14334 16
pankso@4894 17 DEPENDS="ncursesw"
al@14334 18 SUGGESTED="gpm"
pankso@4894 19 BUILD_DEPENDS="ncursesw-dev"
pankso@19 20
pankso@12837 21 export LDFLAGS="-L/usr/cross/arm/lib -L/usr/cross/arm/usr/lib"
pankso@12837 22
pankso@19 23 # Rules to configure and make the package.
pankso@19 24 compile_rules()
pankso@19 25 {
al@14334 26 ./configure \
al@14334 27 --sysconfdir=/etc \
al@14334 28 --localstatedir=/var \
pankso@4894 29 --enable-utf8 \
pankso@4894 30 $CONFIGURE_ARGS &&
al@14334 31 make &&
al@14334 32 make install
pankso@19 33 }
pankso@19 34
pankso@19 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@19 36 genpkg_rules()
pankso@19 37 {
al@14334 38 mkdir -p \
al@14334 39 $fs/etc \
al@14334 40 $fs/usr/share
pankso@12837 41 cp -a $install/usr/bin $fs/usr
pankso@12837 42 cp -a $install/usr/share/nano $fs/usr/share
pankso@9675 43 # Config file.
pankso@9675 44 cp $stuff/nanorc $fs/etc
pankso@19 45 }