wok-6.x view jed/receipt @ rev 17869
Use VERSION variable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 09:34:19 2015 +0100 (2015-03-26) |
parents | 5d53e8ccbc8d |
children | af8d823a3077 |
line source
1 # SliTaz package receipt.
3 PACKAGE="jed"
4 VERSION="0.99-19"
5 CATEGORY="development"
6 SHORT_DESC="JED text editor"
7 MAINTAINER="b1+slitaz@nagel.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.jedsoft.org/jed/"
11 WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/editors/jed/v${VERSION%-*}/$TARBALL"
12 # ftp://space.mit.edu/pub/davis/jed/v${VERSION%-*}/$TARBALL"
13 TAGS="text-editor"
15 DEPENDS="slang"
16 BUILD_DEPENDS="slang-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 JED_ROOT=/usr/share/jed ./configure --prefix=/usr $CONFIGURE_ARGS
22 make &&
23 make -j1 DESTDIR=$DESTDIR install 2>&1 | grep -v xjed
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/jed
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/share/jed/lib $fs/usr/share/jed
32 }