mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Merged in alex_striff/haikuports/mtdev-fix (pull request #439)
finished mtdev recipe
This commit is contained in:
60
sys-libs/mtdev/mtdev-1.1.5.recipe
Normal file
60
sys-libs/mtdev/mtdev-1.1.5.recipe
Normal file
@@ -0,0 +1,60 @@
|
||||
SUMMARY="A Multitouch Protocol Translation Library."
|
||||
DESCRIPTION="MTDev is a stand-alone library which transforms all variants of \
|
||||
kernel MT events to the slotted type B protocol. The events put into \
|
||||
mtdev may be from any MT device, specifically type A without contact \
|
||||
tracking, type A with contact tracking, or type B with contact tracking."
|
||||
HOMEPAGE="http://bitmath.org/code/mtdev/"
|
||||
SRC_URI="http://bitmath.org/code/mtdev/mtdev-1.1.5.tar.bz2"
|
||||
CHECKSUM_SHA256="6677d5708a7948840de734d8b4675d5980d4561171c5a8e89e54adf7a13eba7f"
|
||||
REVISION="1"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="
|
||||
2010 Kenrik Rydberg
|
||||
2010 Canonical Ltd.
|
||||
"
|
||||
|
||||
ARCHITECTURES="!x86 !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="!x86 !x86_gcc2"
|
||||
|
||||
PROVIDES="
|
||||
mtdev$secondaryArchSuffix = $portVersion
|
||||
lib:libmtdev$secondaryArchSuffix = 1.0.0 compat >= 1
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:awk
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure \
|
||||
--disable-static
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
prepareInstalledDevelLibs libmtdev
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
# ----- Devel Package -----------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
mtdev${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libmtdev$secondaryArchSuffix = 1.0.0 compat >= 1
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
mtdev${secondaryArchSuffix} == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user