wok annotate nano/receipt @ rev 16225

Up: gnucash (2.6.3)
author Alexander Medvedev <devl547@gmail.com>
date Tue Apr 01 07:48:33 2014 +0000 (2014-04-01)
parents 2b9f96603415
children fd7c7b825eb9
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@16079 22 # Handle cross compilation
pankso@16079 23 case "$ARCH" in
pankso@16079 24 arm)
pankso@16079 25 export LDFLAGS="-L/usr/cross/arm/lib -L/usr/cross/arm/usr/lib"
pankso@16079 26 BUILD_DEPENDS="ncurses-dev";;
pankso@16079 27 i?86) ARCH_ARGS="--enable-utf8" ;;
pankso@16079 28 esac
pankso@12837 29
pankso@19 30 # Rules to configure and make the package.
pankso@19 31 compile_rules()
pankso@19 32 {
al@14334 33 ./configure \
al@14334 34 --sysconfdir=/etc \
al@14334 35 --localstatedir=/var \
pankso@16079 36 $CONFIGURE_ARGS $ARCH_ARGS &&
pankso@16079 37 make && make install
pankso@19 38 }
pankso@19 39
pankso@19 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@19 41 genpkg_rules()
pankso@19 42 {
al@14334 43 mkdir -p \
al@14334 44 $fs/etc \
al@14334 45 $fs/usr/share
pankso@12837 46 cp -a $install/usr/bin $fs/usr
pankso@12837 47 cp -a $install/usr/share/nano $fs/usr/share
pankso@9675 48 # Config file.
pankso@9675 49 cp $stuff/nanorc $fs/etc
pankso@19 50 }