wok-6.x view kilo/receipt @ rev 24925

updated mpc (0.33 -> 0.34)
author Hans-G?nter Theisgen
date Wed Apr 13 13:55:09 2022 +0100 (2022-04-13)
parents d8c511e24c20
children
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 }