wok annotate mtdev/receipt @ rev 24355

updated backintime (1.2.1 -> 1.3.1)
author Hans-G?nter Theisgen
date Thu Feb 03 15:37:25 2022 +0100 (2022-02-03)
parents 36b510df123b
children
rev   line source
mojo@13708 1 # SliTaz package receipt.
mojo@13708 2
mojo@13708 3 PACKAGE="mtdev"
Hans-G?nter@23198 4 VERSION="1.1.6"
mojo@13708 5 CATEGORY="development"
Hans-G?nter@21495 6 SHORT_DESC="Multitouch Protocol Translation Library."
mojo@13708 7 MAINTAINER="mojo@slitaz.org"
pascal@15583 8 LICENSE="MIT"
mojo@13708 9 WEB_SITE="http://bitmath.org/code/mtdev/"
Hans-G?nter@21495 10
mojo@13708 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
mojo@13708 12 WGET_URL="$WEB_SITE$TARBALL"
Hans-G?nter@21495 13
pankso@16580 14 HOST_ARCH="i486 arm"
mojo@13708 15
pascal@24071 16 current_version()
pascal@24071 17 {
pascal@24071 18 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24071 19 sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24071 20 }
pascal@24071 21
mojo@13708 22 # Rules to configure and make the package.
mojo@13708 23 compile_rules()
mojo@13708 24 {
Hans-G?nter@21495 25 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21495 26 make &&
Hans-G?nter@21495 27 make install
mojo@13708 28 }
mojo@13708 29
mojo@13708 30 # Rules to gen a SliTaz package suitable for Tazpkg.
mojo@13708 31 genpkg_rules()
mojo@13708 32 {
mojo@13708 33 mkdir -p $fs/usr/lib
Hans-G?nter@21495 34
Hans-G?nter@21495 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21495 36 cp -a $install/usr/bin $fs/usr
mojo@13708 37 }