wok annotate qemacs/receipt @ rev 17668
Up tk (8.6.3) same as tcl
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 16 12:43:40 2015 +0100 (2015-02-16) |
parents | 6725548ba993 |
children | 3494cfd4c595 |
rev | line source |
---|---|
pascal@13239 | 1 # SliTaz package receipt. |
pascal@13239 | 2 |
pascal@13239 | 3 PACKAGE="qemacs" |
pascal@15778 | 4 VERSION="0.3.3" |
pascal@13239 | 5 CATEGORY="development" |
pascal@13239 | 6 SHORT_DESC="Light emacs clone." |
pascal@13239 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
pascal@13239 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13239 | 10 WEB_SITE="http://bellard.org/$PACKAGE/" |
pascal@15281 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@15281 | 12 TAGS="editor" |
pascal@15281 | 13 |
pascal@13239 | 14 DEPENDS="" |
pascal@13239 | 15 BUILD_DEPENDS="gcc3" |
pascal@13239 | 16 |
pascal@13239 | 17 # Rules to configure and make the package. |
pascal@13239 | 18 compile_rules() |
pascal@13239 | 19 { |
pascal@13239 | 20 cd $src |
pascal@15281 | 21 ./configure --prefix=/usr --disable-x11 $CONFIGURE_ARGS && |
pascal@15281 | 22 make CC=gcc-3 -j 1 |
pascal@13239 | 23 } |
pascal@13239 | 24 |
pascal@13239 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13239 | 26 genpkg_rules() |
pascal@13239 | 27 { |
pascal@13239 | 28 mkdir -p $fs/usr/bin $fs/usr/share/qe |
pascal@13239 | 29 install -m 755 $src/qe $fs/usr/bin/qemacs |
pascal@13239 | 30 ln -s qemacs $fs/usr/bin/qe |
pascal@13239 | 31 install -m 755 -s $src/html2png $fs/usr/bin |
pascal@13239 | 32 install $src/kmaps $src/ligatures $fs/usr/share/qe |
pascal@13239 | 33 } |
pascal@13239 | 34 |