wok-6.x view kilo/receipt @ rev 24673
Add libavif
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 11 17:20:09 2022 +0000 (2022-03-11) |
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 }