wok annotate nano/receipt @ rev 5609
Up: yasm (1.0.1)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Wed May 19 19:42:01 2010 +0000 (2010-05-19) |
parents | bee79018e13a |
children | daecaab6c005 |
rev | line source |
---|---|
pankso@19 | 1 # SliTaz package receipt. |
pankso@19 | 2 |
pankso@19 | 3 PACKAGE="nano" |
devl547@5200 | 4 VERSION="2.2.3" |
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/" |
devl547@5200 | 12 WGET_URL="http://www.nano-editor.org/dist/v2.2/$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 } |