wok-next annotate nano/receipt @ rev 13670

Trying to fix ape support in deadbeef
author Brenton Scott <admin@trixarian.net>
date Sat Nov 24 17:37:27 2012 +0200 (2012-11-24)
parents a55dc7180253
children b932b8cd3cfa
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"
pankso@19 6 SHORT_DESC="GNU Nano Text Editor."
pankso@19 7 MAINTAINER="pankso@slitaz.org"
pankso@9675 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@9675 9 WEB_SITE="http://www.nano-editor.org/"
pankso@9675 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
pankso@4894 14 DEPENDS="ncursesw"
pankso@4894 15 BUILD_DEPENDS="ncursesw-dev"
pankso@19 16
pankso@12837 17 export LDFLAGS="-L/usr/cross/arm/lib -L/usr/cross/arm/usr/lib"
pankso@12837 18
pankso@19 19 # Rules to configure and make the package.
pankso@19 20 compile_rules()
pankso@19 21 {
pankso@19 22 cd $src
pankso@4894 23 ./configure \
pankso@4894 24 --enable-all \
pankso@4894 25 --enable-extra \
pankso@4894 26 --enable-utf8 \
pankso@4894 27 $CONFIGURE_ARGS &&
pankso@9675 28 make && make install
pankso@19 29 }
pankso@19 30
pankso@19 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@19 32 genpkg_rules()
pankso@19 33 {
pankso@237 34 mkdir -p $fs/usr/share $fs/etc
pankso@12837 35 cp -a $install/usr/bin $fs/usr
pankso@12837 36 cp -a $install/usr/share/nano $fs/usr/share
pankso@9675 37 # Config file.
pankso@9675 38 cp $stuff/nanorc $fs/etc
pankso@19 39 }