wok-stable annotate jed/receipt @ rev 5573

tcc: add cross compilers
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 15 16:05:09 2010 +0200 (2010-05-15)
parents 67356fcbb83e
children 02bbaa9d12ba
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"
b1+slitaz@1802 7 MAINTAINER="b1+slitaz@nagel.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"
jozee@4941 14 TAGS="text-editor"
Bill@1023 15
Bill@1023 16 # Rules to configure and make the package.
Bill@1023 17 compile_rules()
Bill@1023 18 {
Bill@1023 19 cd $src
Bill@1023 20 JED_ROOT=/usr/share/jed ./configure --prefix=/usr $CONFIGURE_ARGS
Bill@1023 21 make && \
Bill@1023 22 make DESTDIR=$PWD/_pkg install
Bill@1023 23 }
Bill@1023 24
Bill@1023 25 # Rules to gen a SliTaz package suitable for Tazpkg.
Bill@1023 26 genpkg_rules()
Bill@1023 27 {
Bill@1023 28 mkdir -p $fs/usr/share/jed
Bill@1023 29 cp -a $_pkg/usr/bin $fs/usr
Bill@1023 30 cp -a $_pkg/usr/share/jed/lib $fs/usr/share/jed
Bill@1023 31 strip -s $fs/usr/bin/*
Bill@1023 32 }
Bill@1023 33