wok-current annotate jed/receipt @ rev 1023
receipt for jed
author | Bill Nagel |
---|---|
date | Thu Jul 10 02:09:35 2008 +0000 (2008-07-10) |
parents | |
children | 821a9fc5077b |
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" |
Bill@1023 | 7 MAINTAINER="@slitaz.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 |