wok annotate nano/receipt @ rev 5150
a2ps, dev86, icedtea6-jdk: compile_rules should be busybox compatible
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 24 08:33:13 2010 +0100 (2010-03-24) |
parents | 82cd8e77939c |
children | 2c74efb0b0f8 |
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" |
jozee@4969 | 13 TAGS="text-editor" |
pankso@19 | 14 |
pankso@19 | 15 # Rules to configure and make the package. |
pankso@19 | 16 compile_rules() |
pankso@19 | 17 { |
pankso@19 | 18 cd $src |
pankso@4894 | 19 ./configure \ |
pankso@4894 | 20 --prefix=/usr \ |
pankso@4894 | 21 --infodir=/usr/share/info \ |
pankso@4894 | 22 --mandir=/usr/share/man \ |
pankso@4894 | 23 --sysconfdir=/etc \ |
pankso@4894 | 24 --enable-all \ |
pankso@4894 | 25 --enable-extra \ |
pankso@4894 | 26 --enable-utf8 \ |
pankso@4894 | 27 $CONFIGURE_ARGS && |
pascal@1439 | 28 make && |
pankso@19 | 29 make DESTDIR=$PWD/_pkg install |
pankso@19 | 30 } |
pankso@19 | 31 |
pankso@19 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@19 | 33 genpkg_rules() |
pankso@19 | 34 { |
pankso@237 | 35 mkdir -p $fs/usr/share $fs/etc |
pankso@19 | 36 cp -a $_pkg/usr/bin $fs/usr |
pankso@19 | 37 cp -a $_pkg/usr/share/nano $fs/usr/share |
pankso@19 | 38 # Config file. |
pankso@19 | 39 cp stuff/nanorc $fs/etc |
pankso@19 | 40 } |