wok-current view le/receipt @ rev 9258

Add: linux-libre 2.6.37-libre (part 2)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 15 03:24:23 2011 +0100 (2011-03-15)
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 }