Receipt for package "qemacs-tiny"
# SliTaz package receipt. PACKAGE="qemacs-tiny" SOURCE="qemacs" VERSION="0.3.3" CATEGORY="editors" SHORT_DESC="Tiny emacs clone." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL2.1" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="https://bellard.org/$SOURCE/" WGET_URL="${WEB_SITE}$TARBALL" TAGS="editor" DEPENDS="" BUILD_DEPENDS="" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { export CFLAGS="-Wno-error=unused-but-set-variable -O2" sed -i 's/\(define SAVED_DATA_SIZE \).*/\1 __builtin_offsetof(EditState,end_of_saved_data)/' qe.h ./configure --prefix=/usr --enable-tiny && make -j 1 qe } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin mkdir -p $install/usr/share/doc $install/usr/share/man install $src/qe-doc.html $src/COPYING $src/README $install/usr/share/doc install $src/*.1 $install/usr/share/man cp -a $src/qe $fs/usr/bin/qemacs ln -s qemacs $fs/usr/bin/qe }
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)