wok-next annotate qemacs-x11/receipt @ rev 13770
Merge
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Jan 03 15:34:53 2013 +0300 (2013-01-03) |
parents | |
children | a436a235f098 |
rev | line source |
---|---|
pascal@13241 | 1 # SliTaz package receipt. |
pascal@13241 | 2 |
pascal@13241 | 3 PACKAGE="qemacs-x11" |
pascal@13241 | 4 SOURCE="qemacs" |
pascal@13241 | 5 VERSION="0.3.2" |
pascal@13241 | 6 CATEGORY="development" |
pascal@13241 | 7 SHORT_DESC="Light emacs clone with X11 support." |
pascal@13241 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@13241 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@13241 | 10 WEB_SITE="http://bellard.org/$SOURCE/" |
pascal@13241 | 11 DEPENDS="xorg-libX11 xorg-libXext xorg-libXv libxcb xorg-libXau xorg-libXdmcp" |
pascal@13241 | 12 BUILD_DEPENDS="gcc3 xorg-libX11-dev xorg-libXext-dev xorg-libXv-dev" |
pascal@13241 | 13 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@13241 | 14 PROVIDE="qemacs" |
pascal@13241 | 15 TAGS="editor" |
pascal@13241 | 16 |
pascal@13241 | 17 # Rules to configure and make the package. |
pascal@13241 | 18 compile_rules() |
pascal@13241 | 19 { |
pascal@13241 | 20 cd $src |
pascal@13241 | 21 ./configure --prefix=/usr $CONFIGURE_ARGS && make CC=gcc-3 |
pascal@13241 | 22 } |
pascal@13241 | 23 |
pascal@13241 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13241 | 25 genpkg_rules() |
pascal@13241 | 26 { |
pascal@13241 | 27 mkdir -p $fs/usr/bin $fs/usr/share/qe |
pascal@13241 | 28 install -m 755 $src/qe $fs/usr/bin/qemacs |
pascal@13241 | 29 ln -s qemacs $fs/usr/bin/qe |
pascal@13241 | 30 install -m 755 -s $src/html2png $fs/usr/bin |
pascal@13241 | 31 install $src/kmaps $src/ligatures $fs/usr/share/qe |
pascal@13241 | 32 } |
pascal@13241 | 33 |