wok-6.x annotate mtdev/receipt @ rev 20183
Add parallel
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 29 19:08:54 2018 +0100 (2018-01-29) |
parents | bb009a6ef036 |
children | f2a011e5ec78 |
rev | line source |
---|---|
mojo@13708 | 1 # SliTaz package receipt. |
mojo@13708 | 2 |
mojo@13708 | 3 PACKAGE="mtdev" |
mojo@13708 | 4 VERSION="1.1.3" |
mojo@13708 | 5 CATEGORY="development" |
mojo@13708 | 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/" |
mojo@13708 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
mojo@13708 | 11 WGET_URL="$WEB_SITE$TARBALL" |
pankso@16580 | 12 HOST_ARCH="i486 arm" |
mojo@13708 | 13 |
mojo@13708 | 14 # Rules to configure and make the package. |
mojo@13708 | 15 compile_rules() |
mojo@13708 | 16 { |
mojo@13708 | 17 ./configure $CONFIGURE_ARGS && make && make install |
mojo@13708 | 18 } |
mojo@13708 | 19 |
mojo@13708 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
mojo@13708 | 21 genpkg_rules() |
mojo@13708 | 22 { |
mojo@13708 | 23 mkdir -p $fs/usr/lib |
mojo@13708 | 24 cp -a $install/usr/lib/*.so* $fs/usr/lib |
mojo@13708 | 25 cp -a $install/usr/bin $fs/usr |
mojo@13708 | 26 } |