wok annotate mtdev/receipt @ rev 24155
linld : fix lm detection
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 06 16:44:52 2021 +0000 (2021-12-06) |
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 } |