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