wok annotate jed/receipt @ rev 4908
Up: slitaz-doc (3.1) - Provide now a getting started guide
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Feb 12 22:25:57 2010 +0100 (2010-02-12) |
parents | 74c908326808 |
children | 4466fa74bc06 |
rev | line source |
---|---|
Bill@1023 | 1 # SliTaz package receipt. |
Bill@1023 | 2 |
Bill@1023 | 3 PACKAGE="jed" |
Bill@1023 | 4 VERSION="0.99-18" |
Bill@1023 | 5 CATEGORY="development" |
Bill@1023 | 6 SHORT_DESC="JED text editor" |
b1+slitaz@1802 | 7 MAINTAINER="b1+slitaz@nagel.org" |
Bill@1023 | 8 DEPENDS="slang" |
Bill@1023 | 9 BUILD_DEPENDS="slang-dev" |
Bill@1023 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Bill@1023 | 11 WEB_SITE="http://www.jedsoft.org/jed/" |
Bill@1023 | 12 WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/editors/jed/v0.99/$TARBALL |
Bill@1023 | 13 ftp://space.mit.edu/pub/davis/jed/v0.99/$TARBALL" |
Bill@1023 | 14 |
Bill@1023 | 15 # Rules to configure and make the package. |
Bill@1023 | 16 compile_rules() |
Bill@1023 | 17 { |
Bill@1023 | 18 cd $src |
Bill@1023 | 19 JED_ROOT=/usr/share/jed ./configure --prefix=/usr $CONFIGURE_ARGS |
Bill@1023 | 20 make && \ |
Bill@1023 | 21 make DESTDIR=$PWD/_pkg install |
Bill@1023 | 22 } |
Bill@1023 | 23 |
Bill@1023 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
Bill@1023 | 25 genpkg_rules() |
Bill@1023 | 26 { |
Bill@1023 | 27 mkdir -p $fs/usr/share/jed |
Bill@1023 | 28 cp -a $_pkg/usr/bin $fs/usr |
Bill@1023 | 29 cp -a $_pkg/usr/share/jed/lib $fs/usr/share/jed |
Bill@1023 | 30 strip -s $fs/usr/bin/* |
Bill@1023 | 31 } |
Bill@1023 | 32 |