wok annotate le/receipt @ rev 2959

Up: dmidecode (2.10)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri May 08 22:26:27 2009 +0200 (2009-05-08)
parents
children 5378a6ce05d5
rev   line source
mimas@2026 1 # SliTaz package receipt.
mimas@2026 2
mimas@2026 3 PACKAGE="le"
mimas@2026 4 VERSION="1.14.0"
mimas@2026 5 CATEGORY="utilities"
mimas@2026 6 SHORT_DESC="Small editor using ncurses"
mimas@2026 7 MAINTAINER="mimas@slitaz.org"
mimas@2026 8 DEPENDS="ncurses"
mimas@2026 9 BUILD_DEPENDS="ncurses-dev"
mimas@2026 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
mimas@2026 11 WEB_SITE="ftp://ftp.yar.ru/pub/source/le/"
mimas@2026 12 WGET_URL="ftp://ftp.yar.ru/pub/source/le/$TARBALL"
mimas@2026 13
mimas@2026 14 # Rules to configure and make the package.
mimas@2026 15 compile_rules()
mimas@2026 16 {
mimas@2026 17 cd $src
mimas@2026 18 ./configure \
mimas@2026 19 --prefix=/usr \
mimas@2026 20 --infodir=/usr/share/info \
mimas@2026 21 --mandir=/usr/share/man \
mimas@2026 22 $CONFIGURE_ARGS
mimas@2026 23 make
mimas@2026 24 make DESTDIR=$PWD/_pkg install
mimas@2026 25 }
mimas@2026 26
mimas@2026 27 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2026 28 genpkg_rules()
mimas@2026 29 {
mimas@2026 30 mkdir -p $fs/usr/share
mimas@2026 31 cp -a $_pkg/usr/bin $fs/usr
mimas@2026 32 cp -a $_pkg/usr/share/le $fs/usr/share
mimas@2026 33 strip -s $fs/usr/bin/*
mimas@2026 34 }
mimas@2026 35