# HG changeset patch # User Pascal Bellard # Date 1345146515 -7200 # Node ID f82b9cdc36cd0cfbfe70bd6ab59e82d247634345 # Parent eddbb48b0b8ba83f99aca78eb2c3aa91434e0620 Add qemacs-tiny diff -r eddbb48b0b8b -r f82b9cdc36cd qemacs-tiny/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qemacs-tiny/receipt Thu Aug 16 21:48:35 2012 +0200 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="qemacs-tiny" +VERSION="0.3.2" +CATEGORY="development" +SHORT_DESC="Tiny emacs clone." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://bellard.org/$PACKAGE/" +WGET_URL="${WEB_SITE}$TARBALL" +TAGS="editor" + +DEPENDS="" +BUILD_DEPENDS="" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + sed -i 's/\(define SAVED_DATA_SIZE \).*/\1 __builtin_offsetof(EditState,end_of_saved_data)/' qe.h + ./configure --prefix=/usr --enable-tiny && make qe +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $src/qe $fs/usr/bin/qemacs + ln -s qemacs $fs/usr/bin/qe +} +