wok-6.x annotate le/receipt @ rev 15511

Up: thunderbird-langpack-en_US (17.0.10esr)
author Dominique Corbex <domcox@slitaz.org>
date Tue Nov 19 22:24:17 2013 +0100 (2013-11-19)
parents d7486a2cc6d9
children 5d53e8ccbc8d
rev   line source
mimas@2026 1 # SliTaz package receipt.
mimas@2026 2
mimas@2026 3 PACKAGE="le"
pankso@4169 4 VERSION="1.14.2"
mimas@2026 5 CATEGORY="utilities"
mimas@2026 6 SHORT_DESC="Small editor using ncurses"
mimas@2026 7 MAINTAINER="mimas@slitaz.org"
pascal@15245 8 LICENSE="GPL2"
mimas@2026 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
mimas@2026 10 WEB_SITE="ftp://ftp.yar.ru/pub/source/le/"
mimas@2026 11 WGET_URL="ftp://ftp.yar.ru/pub/source/le/$TARBALL"
mimas@2026 12
pascal@15245 13 DEPENDS="ncurses gcc-lib-base"
pascal@15245 14 BUILD_DEPENDS="ncurses-dev"
pascal@15245 15
mimas@2026 16 # Rules to configure and make the package.
mimas@2026 17 compile_rules()
mimas@2026 18 {
mimas@2026 19 cd $src
slaxemulator@9700 20 patch -p 0 < $stuff/gcc-4.patch || return 1
mimas@2026 21 ./configure \
mimas@2026 22 --prefix=/usr \
mimas@2026 23 --infodir=/usr/share/info \
mimas@2026 24 --mandir=/usr/share/man \
pankso@4169 25 $CONFIGURE_ARGS &&
pascal@15265 26 make &&
pascal@15245 27 make DESTDIR=$DESTDIR install
mimas@2026 28 }
mimas@2026 29
mimas@2026 30 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2026 31 genpkg_rules()
mimas@2026 32 {
mimas@2026 33 mkdir -p $fs/usr/share
pascal@15245 34 cp -a $install/usr/bin $fs/usr
pascal@15245 35 cp -a $install/usr/share/le $fs/usr/share
mimas@2026 36 }
mimas@2026 37