wok-current annotate nano/receipt @ rev 10236

Up: xorg-xf86-video-intel to 2.15.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 21 00:37:49 2011 +0000 (2011-05-21)
parents 172046663dc8
children 05a0ed0c2af0
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@9675 12
pankso@4894 13 DEPENDS="ncursesw"
pankso@4894 14 BUILD_DEPENDS="ncursesw-dev"
pankso@19 15
pankso@19 16 # Rules to configure and make the package.
pankso@19 17 compile_rules()
pankso@19 18 {
pankso@19 19 cd $src
pankso@4894 20 ./configure \
pankso@4894 21 --enable-all \
pankso@4894 22 --enable-extra \
pankso@4894 23 --enable-utf8 \
pankso@4894 24 $CONFIGURE_ARGS &&
pankso@9675 25 make && make install
pankso@19 26 }
pankso@19 27
pankso@19 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@19 29 genpkg_rules()
pankso@19 30 {
pankso@237 31 mkdir -p $fs/usr/share $fs/etc
pankso@9675 32 cp -a $_pkg/usr/bin $fs/usr
pankso@9675 33 cp -a $_pkg/usr/share/nano $fs/usr/share
pankso@9675 34 # Config file.
pankso@9675 35 cp $stuff/nanorc $fs/etc
pankso@19 36 }