wok-6.x view nano/receipt @ rev 100

Moved SecurityPolicy to xorg-server
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 04 16:44:46 2008 +0100 (2008-01-04)
parents
children 4959e5789caa
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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --enable-all --enable-extra --prefix=/usr \
18 --infodir=/usr/share/info --mandir=/usr/share/man \
19 --sysconfdir=/etc $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/locale/fr $fs/etc $fs/usr/share/pixmaps
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/nano $fs/usr/share
30 strip -s $fs/usr/bin/*
31 cp -a $_pkg/usr/share/locale/fr/LC_MESSAGES $fs/usr/share/locale/fr
32 # Config file.
33 cp stuff/nanorc $fs/etc
34 # Pixmap.
35 cp stuff/nano.png $fs/usr/share/pixmaps
36 }