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