wok-current annotate uemacs/receipt @ rev 24381

updated blktrace (1.2.0 -> 1.3.0)
author Hans-G?nter Theisgen
date Sun Feb 06 10:30:31 2022 +0100 (2022-02-06)
parents aff6fc8c04d4
children 8ea0030e77cb
rev   line source
pascal@13358 1 # SliTaz package receipt.
pascal@13358 2
pascal@13358 3 PACKAGE="uemacs"
Hans-G?nter@22071 4 VERSION="20141208"
pascal@18559 5 CATEGORY="editors"
Hans-G?nter@22071 6 TAGS="editor"
pascal@13358 7 SHORT_DESC="Tiny emacs clone."
pascal@13358 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15363 9 LICENSE="other"
Hans-G?nter@22071 10 WEB_SITE="httpa://git.kernel.org/pub/scm/editors/uemacs/uemacs.git"
Hans-G?nter@22071 11
Hans-G?nter@22071 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@22071 13 WGET_URL="https://sourceforge.net/projects/slackbuildsdirectlinks/files/$PACKAGE/$PACKAGE$VERSION.tar.xz"
pascal@13358 14
pascal@17672 15 DEPENDS="ncurses"
Hans-G?nter@22071 16 BUILD_DEPENDS="ncurses-dev"
pascal@13358 17
pascal@24353 18 # What is the latest version available today?
pascal@24353 19 current_version()
pascal@24353 20 {
pascal@24353 21 wget -O - https://sourceforge.net/projects/slackbuildsdirectlinks/files/uemacs/ 2>/dev/null | \
pascal@24353 22 sed '/scope="row/!d;s|.*/uemacs||;s|.tar.*||;q'
pascal@24353 23 }
pascal@24353 24
pascal@13358 25 # Rules to configure and make the package.
pascal@13358 26 compile_rules()
pascal@13358 27 {
pascal@17672 28 export LDFLAGS="$LDFLAGS -ltinfo"
pascal@13358 29 make
pascal@13358 30 }
pascal@13358 31
pascal@13358 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13358 33 genpkg_rules()
pascal@13358 34 {
pascal@13358 35 mkdir -p $fs/usr/bin
Hans-G?nter@22071 36
Hans-G?nter@22071 37 cp -a $src/em $fs/usr/bin
Hans-G?nter@22071 38 ln -s em $fs/usr/bin/uemacs
pascal@13358 39 }