wok-next annotate nano/receipt @ rev 4894
nano: --enable-utf8
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 07 18:41:46 2010 +0100 (2010-02-07) |
parents | 3e8ffa6ff731 |
children | bee79018e13a |
rev | line source |
---|---|
pankso@19 | 1 # SliTaz package receipt. |
pankso@19 | 2 |
pankso@19 | 3 PACKAGE="nano" |
erjo@1392 | 4 VERSION="2.0.9" |
pankso@201 | 5 CATEGORY="utilities" |
pankso@19 | 6 SHORT_DESC="GNU Nano Text Editor." |
pankso@19 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4894 | 8 DEPENDS="ncursesw" |
pankso@4894 | 9 BUILD_DEPENDS="ncursesw-dev" |
pankso@19 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@19 | 11 WEB_SITE="http://www.nano-editor.org/" |
pankso@19 | 12 WGET_URL="http://www.nano-editor.org/dist/v2.0/$TARBALL" |
pankso@19 | 13 |
pankso@19 | 14 # Rules to configure and make the package. |
pankso@19 | 15 compile_rules() |
pankso@19 | 16 { |
pankso@19 | 17 cd $src |
pankso@4894 | 18 ./configure \ |
pankso@4894 | 19 --prefix=/usr \ |
pankso@4894 | 20 --infodir=/usr/share/info \ |
pankso@4894 | 21 --mandir=/usr/share/man \ |
pankso@4894 | 22 --sysconfdir=/etc \ |
pankso@4894 | 23 --enable-all \ |
pankso@4894 | 24 --enable-extra \ |
pankso@4894 | 25 --enable-utf8 \ |
pankso@4894 | 26 $CONFIGURE_ARGS && |
pascal@1439 | 27 make && |
pankso@19 | 28 make DESTDIR=$PWD/_pkg 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@19 | 35 cp -a $_pkg/usr/bin $fs/usr |
pankso@19 | 36 cp -a $_pkg/usr/share/nano $fs/usr/share |
pankso@19 | 37 # Config file. |
pankso@19 | 38 cp stuff/nanorc $fs/etc |
pankso@19 | 39 } |