wok annotate nano/receipt @ rev 90

Compile JWM without fribidi supprot
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jan 03 10:21:35 2008 +0100 (2008-01-03)
parents
children 4959e5789caa
rev   line source
pankso@19 1 # SliTaz package receipt.
pankso@19 2
pankso@19 3 PACKAGE="nano"
pankso@19 4 VERSION="2.0.6"
pankso@19 5 CATEGORY="base-apps"
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@19 27 mkdir -p $fs/usr/share/locale/fr $fs/etc $fs/usr/share/pixmaps
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 strip -s $fs/usr/bin/*
pankso@19 31 cp -a $_pkg/usr/share/locale/fr/LC_MESSAGES $fs/usr/share/locale/fr
pankso@19 32 # Config file.
pankso@19 33 cp stuff/nanorc $fs/etc
pankso@19 34 # Pixmap.
pankso@19 35 cp stuff/nano.png $fs/usr/share/pixmaps
pankso@19 36 }