wok-tiny annotate qemacs/receipt @ rev 85

qemacs: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 18 08:46:42 2012 +0200 (2012-08-18)
parents c5d2f4ae4c16
children a6d2ddc65590
rev   line source
pascal@84 1 # SliTaz package receipt.
pascal@84 2
pascal@84 3 PACKAGE="qemacs"
pascal@84 4 VERSION="0.3.2"
pascal@84 5 CATEGORY="development"
pascal@84 6 SHORT_DESC="Light emacs clone."
pascal@84 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@84 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@84 9 WEB_SITE="http://bellard.org/$PACKAGE/"
pascal@84 10 [ -n "$TARGET" ] || TARGET="i486"
pascal@85 11 DEPENDS="libm"
pascal@84 12 BUILD_DEPENDS="uclibc-cross-compiler-$TARGET"
pascal@84 13 WGET_URL="${WEB_SITE}$TARBALL"
pascal@84 14 TAGS="editor"
pascal@84 15
pascal@84 16 # Rules to configure and make the package.
pascal@84 17 compile_rules()
pascal@84 18 {
pascal@84 19 cd $src
pascal@84 20 export CFLAGS="-Os"
pascal@84 21 ./configure --cross-prefix=uclibc-$TARGET- \
pascal@84 22 --prefix=/usr --enable-tiny $CONFIGURE_ARGS && make
pascal@84 23 }
pascal@84 24
pascal@84 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@84 26 genpkg_rules()
pascal@84 27 {
pascal@84 28 mkdir -p $fs/usr/bin
pascal@84 29 cp -a $src/qe $fs/usr/bin
pascal@84 30 }
pascal@84 31