wok view jed/receipt @ rev 13160

slitaz-boot-scripts: use chroot in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 25 18:28:25 2012 +0200 (2012-07-25)
parents 35795f86afd3
children 5b41f39a1049
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.jedsoft.org/jed/"
10 WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/editors/jed/v0.99/$TARBALL
11 ftp://space.mit.edu/pub/davis/jed/v0.99/$TARBALL"
12 TAGS="text-editor"
14 DEPENDS="slang"
15 BUILD_DEPENDS="slang-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 JED_ROOT=/usr/share/jed ./configure --prefix=/usr $CONFIGURE_ARGS
22 make && \
23 make -j1 DESTDIR=$DESTDIR install
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 $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/jed/lib $fs/usr/share/jed
32 }