# HG changeset patch # User Pascal Bellard # Date 1344944360 -7200 # Node ID 2830f99c44abc4f3eeff28f946bf845e2b7af15b # Parent 7f8057a8db36b6445549580fe63e5032fe2554a4 Move from undigest: qemacs-x11 diff -r 7f8057a8db36 -r 2830f99c44ab qemacs-x11/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qemacs-x11/receipt Tue Aug 14 13:39:20 2012 +0200 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="qemacs-x11" +SOURCE="qemacs" +VERSION="0.3.2" +CATEGORY="development" +SHORT_DESC="Light emacs clone with X11 support." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://bellard.org/$SOURCE/" +DEPENDS="xorg-libX11 xorg-libXext xorg-libXv libxcb xorg-libXau xorg-libXdmcp" +BUILD_DEPENDS="gcc3 xorg-libX11-dev xorg-libXext-dev xorg-libXv-dev" +WGET_URL="${WEB_SITE}$TARBALL" +PROVIDE="qemacs" +TAGS="editor" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr $CONFIGURE_ARGS && make CC=gcc-3 +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin $fs/usr/share/qe + install -m 755 $src/qe $fs/usr/bin/qemacs + ln -s qemacs $fs/usr/bin/qe + install -m 755 -s $src/html2png $fs/usr/bin + install $src/kmaps $src/ligatures $fs/usr/share/qe +} +