wok annotate le/receipt @ rev 9236
bygfoot: patch po/Makefile.in.in
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 12 10:00:41 2011 +0100 (2011-03-12) |
parents | 8752c40cc534 |
children | 02bbaa9d12ba |
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@5003 | 8 DEPENDS="ncurses gcc-lib-base" |
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 |
gokhlayeh@8615 | 18 patch -p 0 < ../stuff/gcc-4.patch || return 1 |
mimas@2026 | 19 ./configure \ |
mimas@2026 | 20 --prefix=/usr \ |
mimas@2026 | 21 --infodir=/usr/share/info \ |
mimas@2026 | 22 --mandir=/usr/share/man \ |
pankso@4169 | 23 $CONFIGURE_ARGS && |
pankso@4169 | 24 make && |
mimas@2026 | 25 make DESTDIR=$PWD/_pkg install |
mimas@2026 | 26 } |
mimas@2026 | 27 |
mimas@2026 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2026 | 29 genpkg_rules() |
mimas@2026 | 30 { |
mimas@2026 | 31 mkdir -p $fs/usr/share |
mimas@2026 | 32 cp -a $_pkg/usr/bin $fs/usr |
mimas@2026 | 33 cp -a $_pkg/usr/share/le $fs/usr/share |
mimas@2026 | 34 strip -s $fs/usr/bin/* |
mimas@2026 | 35 } |
mimas@2026 | 36 |