wok-current view mtdev/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 36b510df123b |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="mtdev"
4 VERSION="1.1.6"
5 CATEGORY="development"
6 SHORT_DESC="Multitouch Protocol Translation Library."
7 MAINTAINER="mojo@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://bitmath.org/code/mtdev/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$WEB_SITE$TARBALL"
14 HOST_ARCH="i486 arm"
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 }