wok-6.x diff qemacs-x11/receipt @ rev 14507

Add get-src2pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 14 07:26:31 2013 +0200 (2013-05-14)
parents
children a436a235f098
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/qemacs-x11/receipt	Tue May 14 07:26:31 2013 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="qemacs-x11"
     1.7 +SOURCE="qemacs"
     1.8 +VERSION="0.3.2"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="Light emacs clone with X11 support."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://bellard.org/$SOURCE/"
    1.14 +DEPENDS="xorg-libX11 xorg-libXext xorg-libXv libxcb xorg-libXau xorg-libXdmcp"
    1.15 +BUILD_DEPENDS="gcc3 xorg-libX11-dev xorg-libXext-dev xorg-libXv-dev"
    1.16 +WGET_URL="${WEB_SITE}$TARBALL"
    1.17 +PROVIDE="qemacs"
    1.18 +TAGS="editor"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	./configure --prefix=/usr $CONFIGURE_ARGS && make CC=gcc-3
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/bin $fs/usr/share/qe
    1.31 +	install -m 755 $src/qe $fs/usr/bin/qemacs
    1.32 +	ln -s qemacs $fs/usr/bin/qe
    1.33 +	install -m 755 -s $src/html2png $fs/usr/bin
    1.34 +	install $src/kmaps $src/ligatures $fs/usr/share/qe
    1.35 +}
    1.36 +