wok-stable view le/receipt @ rev 9362

Up: xorg-libXi to 1.4.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Mar 20 15:33:31 2011 +0000 (2011-03-20)
parents 8752c40cc534
children 02bbaa9d12ba
line source
1 # SliTaz package receipt.
3 PACKAGE="le"
4 VERSION="1.14.2"
5 CATEGORY="utilities"
6 SHORT_DESC="Small editor using ncurses"
7 MAINTAINER="mimas@slitaz.org"
8 DEPENDS="ncurses gcc-lib-base"
9 BUILD_DEPENDS="ncurses-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="ftp://ftp.yar.ru/pub/source/le/"
12 WGET_URL="ftp://ftp.yar.ru/pub/source/le/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -p 0 < ../stuff/gcc-4.patch || return 1
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/le $fs/usr/share
34 strip -s $fs/usr/bin/*
35 }