wok-current view uemacs/receipt @ rev 24974
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 02 11:23:24 2022 +0000 (2022-05-02) |
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 }