wok-next annotate jed/receipt @ rev 13777
slitaz-tools: fix 5.2 Makefile
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 03 15:23:18 2013 +0100 (2013-01-03) |
parents | 35795f86afd3 |
children | 5b41f39a1049 |
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" |
Bill@1023 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Bill@1023 | 9 WEB_SITE="http://www.jedsoft.org/jed/" |
Bill@1023 | 10 WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/editors/jed/v0.99/$TARBALL |
Bill@1023 | 11 ftp://space.mit.edu/pub/davis/jed/v0.99/$TARBALL" |
jozee@4941 | 12 TAGS="text-editor" |
Bill@1023 | 13 |
erjo@9949 | 14 DEPENDS="slang" |
erjo@9949 | 15 BUILD_DEPENDS="slang-dev" |
erjo@9949 | 16 |
Bill@1023 | 17 # Rules to configure and make the package. |
Bill@1023 | 18 compile_rules() |
Bill@1023 | 19 { |
Bill@1023 | 20 cd $src |
Bill@1023 | 21 JED_ROOT=/usr/share/jed ./configure --prefix=/usr $CONFIGURE_ARGS |
Bill@1023 | 22 make && \ |
slaxemulator@10979 | 23 make -j1 DESTDIR=$DESTDIR install |
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 |
Bill@1023 | 30 cp -a $_pkg/usr/bin $fs/usr |
Bill@1023 | 31 cp -a $_pkg/usr/share/jed/lib $fs/usr/share/jed |
Bill@1023 | 32 } |
Bill@1023 | 33 |