wok view uemacs/receipt @ rev 25726
renamed xfce4-ristretto to ristretto
author | Hans-G?nter Theisgen |
---|---|
date | Sat Aug 17 17:30:48 2024 +0100 (2 months ago) |
parents | 3105f866bc3e |
children |
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="https://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 }