wok-6.x annotate lua-readline/receipt @ rev 25266

gdk-pixbuf: added dependency libjpeg
author Hans-G?nter Theisgen
date Fri Jul 15 13:56:48 2022 +0100 (2022-07-15)
parents 34e801e0eb52
children
rev   line source
Hans-G?nter@23932 1 # SliTaz package receipt.
Hans-G?nter@23932 2
Hans-G?nter@23932 3 PACKAGE="lua-readline"
Hans-G?nter@23932 4 VERSION="1.0"
Hans-G?nter@23932 5 CATEGORY="development"
Hans-G?nter@23932 6 SHORT_DESC="GNU readline binding for Lua."
Hans-G?nter@23932 7 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@23932 8 LICENSE="MIT"
Hans-G?nter@23932 9 WEB_SITE="https://github.com/hleuwer/readline/"
Hans-G?nter@23932 10
Hans-G?nter@23932 11 TARBALL="$PACKAGE-$VERSION.zip"
Hans-G?nter@23932 12 WGET_URL="${WEB_SITE}archive/master.zip"
Hans-G?nter@23932 13
Hans-G?nter@23932 14 SUGGESTED="lua"
Hans-G?nter@23932 15 BUILD_DEPENDS="lua-dev readline-dev"
Hans-G?nter@23932 16
pascal@24497 17 # What is the latest version available today?
pascal@24497 18 current_version()
pascal@24497 19 {
pascal@24497 20 wget -O - https://github.com/hleuwer/readline/commits/master 2>/dev/null | \
pascal@24974 21 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
pascal@24497 22 }
pascal@24497 23
Hans-G?nter@23932 24 # Rules to configure and make the package.
Hans-G?nter@23932 25 compile_rules()
Hans-G?nter@23932 26 {
Hans-G?nter@23932 27 make
Hans-G?nter@23932 28 }
Hans-G?nter@23932 29
Hans-G?nter@23932 30 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@23932 31 genpkg_rules()
Hans-G?nter@23932 32 {
Hans-G?nter@23932 33 # lua-dev is version 5.2
Hans-G?nter@23932 34 mkdir -p $fs/usr/lib/lua/5.2
Hans-G?nter@23932 35 cp -a $src/Release/readline.so $fs/usr/lib/lua/5.2
Hans-G?nter@23932 36 }