wok view nano/receipt @ rev 153
Add JWM_MENU infos
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 26 19:03:45 2008 +0100 (2008-01-26) |
parents | 4bd82e9961cb |
children | cdac43c3f44f |
line source
1 # SliTaz package receipt.
3 PACKAGE="nano"
4 VERSION="2.0.6"
5 CATEGORY="base-apps"
6 SHORT_DESC="GNU Nano Text Editor."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="ncurses"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.nano-editor.org/"
11 WGET_URL="http://www.nano-editor.org/dist/v2.0/$TARBALL"
12 JWM_MENU='Productivity:<Program icon="nano.png" label="Nano">xterm -bg black -fg white -cr lightgreen -e nano</Program>'
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --enable-all --enable-extra --prefix=/usr \
19 --infodir=/usr/share/info --mandir=/usr/share/man \
20 --sysconfdir=/etc $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/locale/fr $fs/etc $fs/usr/share/pixmaps
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/nano $fs/usr/share
31 strip -s $fs/usr/bin/*
32 cp -a $_pkg/usr/share/locale/fr/LC_MESSAGES $fs/usr/share/locale/fr
33 # Config file.
34 cp stuff/nanorc $fs/etc
35 # Pixmap.
36 cp stuff/nano.png $fs/usr/share/pixmaps
37 }