# SliTaz package receipt. PACKAGE="e3" VERSION="2.8" CATEGORY="utilities" SHORT_DESC="e3 is a full featured text editor written in NASM assembler." MAINTAINER="devl547@gmail.com" DEPENDS="" BUILD_DEPENDS="make nasm" TARBALL="$PACKAGE-$VERSION.tgz" WEB_SITE="http://sites.google.com/site/e3editor" WGET_URL="$WEB_SITE/Home/$TARBALL" TAGS="text-editor" # Rules to configure and make the package. compile_rules() { cd $src sed -i -e 's/-D$(EXMODE)//' Makefile && sed -i -e 's#/man/man#/share/man/man#' Makefile make && make PREFIX=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/ cp -R $WOK/$PACKAGE/install/* $fs/usr/ for i in $(cd $fs/usr/bin; ls e3?*); do rm -f $fs/usr/bin/$i ln -s e3 $fs/usr/bin/$i done }