wok-6.x annotate nano/receipt @ rev 12737
Up: babl (0.1.10)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 07 23:28:05 2012 +0200 (2012-05-07) |
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 } |