# SliTaz package receipt. PACKAGE="le" VERSION="1.14.2" CATEGORY="utilities" SHORT_DESC="Small editor using ncurses" MAINTAINER="mimas@slitaz.org" DEPENDS="ncurses gcc-lib-base" BUILD_DEPENDS="ncurses-dev" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="ftp://ftp.yar.ru/pub/source/le/" WGET_URL="ftp://ftp.yar.ru/pub/source/le/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src patch -p 0 < $stuff/gcc-4.patch || return 1 ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/share/le $fs/usr/share }