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