
Receipt for package "qemacs-x11"
# SliTaz package receipt. PACKAGE="qemacs-x11" SOURCE="qemacs" VERSION="0.3.3" CATEGORY="editors" SHORT_DESC="Light emacs clone with X11 support." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL2.1" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="https://bellard.org/$SOURCE/" WGET_URL="${WEB_SITE}$TARBALL" PROVIDE="qemacs" TAGS="editor" DEPENDS="xorg-libX11 xorg-libXext xorg-libXv libxcb xorg-libXau xorg-libXdmcp" BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev xorg-libXv-dev" # 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 $CONFIGURE_ARGS && make -j 1 } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin $fs/usr/share/qe 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 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 }
6091 packages and 256114 files in current database (Thu Apr 3 00:00:04 2025)