wok-tiny annotate qemacs/receipt @ rev 126
Update config_form()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 19:39:46 2017 +0100 (2017-02-12) |
parents | eaaa39422d96 |
children | 1e55ea7da8de |
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@90 | 8 LICENSE="LGPL" |
pascal@84 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@84 | 10 WEB_SITE="http://bellard.org/$PACKAGE/" |
pascal@84 | 11 [ -n "$TARGET" ] || TARGET="i486" |
pascal@85 | 12 DEPENDS="libm" |
pascal@84 | 13 BUILD_DEPENDS="uclibc-cross-compiler-$TARGET" |
pascal@84 | 14 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@84 | 15 TAGS="editor" |
pascal@84 | 16 |
pascal@84 | 17 # Rules to configure and make the package. |
pascal@84 | 18 compile_rules() |
pascal@84 | 19 { |
pascal@84 | 20 cd $src |
pascal@84 | 21 export CFLAGS="-Os" |
pascal@84 | 22 ./configure --cross-prefix=uclibc-$TARGET- \ |
pascal@84 | 23 --prefix=/usr --enable-tiny $CONFIGURE_ARGS && make |
pascal@84 | 24 } |
pascal@84 | 25 |
pascal@84 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@84 | 27 genpkg_rules() |
pascal@84 | 28 { |
pascal@84 | 29 mkdir -p $fs/usr/bin |
pascal@84 | 30 cp -a $src/qe $fs/usr/bin |
pascal@84 | 31 } |
pascal@84 | 32 |