wok view kilo/receipt @ rev 24715
updated lfs-book (8.4 -> 11.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 06:57:03 2022 +0100 (2022-03-15) |
parents | d8c511e24c20 |
children | a66f312c374b |
line source
1 # SliTaz package receipt.
3 PACKAGE="kilo"
4 VERSION="15072016"
5 CATEGORY="office"
6 SHORT_DESC="A text editor in less than 1000 LOC with syntax highlight and search."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://github.com/antirez/kilo"
11 WGET_URL="git|git://github.com/antirez/kilo"
13 #DEPENDS=""
14 BUILD_DEPENDS="git bzip2"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/antirez/kilo/commits/master 2>/dev/null | \
20 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $src/$PACKAGE $fs/usr/bin
34 }