wok-6.x annotate nano/receipt @ rev 817
lxlauncher: typo in fr name
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 16 14:22:13 2008 +0200 (2008-05-16) |
parents | 9cc179346e69 |
children | c4bc94f1fe55 |
rev | line source |
---|---|
pankso@19 | 1 # SliTaz package receipt. |
pankso@19 | 2 |
pankso@19 | 3 PACKAGE="nano" |
pankso@237 | 4 VERSION="2.0.7" |
pankso@201 | 5 CATEGORY="utilities" |
pankso@19 | 6 SHORT_DESC="GNU Nano Text Editor." |
pankso@19 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@19 | 8 DEPENDS="ncurses" |
pankso@19 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@19 | 10 WEB_SITE="http://www.nano-editor.org/" |
pankso@19 | 11 WGET_URL="http://www.nano-editor.org/dist/v2.0/$TARBALL" |
pankso@19 | 12 |
pankso@19 | 13 # Rules to configure and make the package. |
pankso@19 | 14 compile_rules() |
pankso@19 | 15 { |
pankso@19 | 16 cd $src |
pankso@19 | 17 ./configure --enable-all --enable-extra --prefix=/usr \ |
pankso@19 | 18 --infodir=/usr/share/info --mandir=/usr/share/man \ |
pankso@19 | 19 --sysconfdir=/etc $CONFIGURE_ARGS |
pankso@19 | 20 make |
pankso@19 | 21 make DESTDIR=$PWD/_pkg install |
pankso@19 | 22 } |
pankso@19 | 23 |
pankso@19 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@19 | 25 genpkg_rules() |
pankso@19 | 26 { |
pankso@237 | 27 mkdir -p $fs/usr/share $fs/etc |
pankso@19 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@19 | 29 cp -a $_pkg/usr/share/nano $fs/usr/share |
pankso@19 | 30 # Config file. |
pankso@19 | 31 cp stuff/nanorc $fs/etc |
pankso@19 | 32 } |