Files
haikuports/media-libs/liblo/liblo-0.28.recipe
2014-05-20 22:19:33 +00:00

75 lines
1.6 KiB
Plaintext

SUMMARY="Lightweight OSC (Open Sound Control) Implementation"
DESCRIPTION="
liblo is a lightweight library that provides an easy to use implementation of \
the OSC protocol.
"
HOMEPAGE="http://plugin.org.uk/liblo"
COPYRIGHT="
2008-2012 Stephen Sinclair
2008 Kentaro Fukuchi
2005-2008 Nicholas Humfrey
2005 Martin Habets
2005-2006 Steve Harris"
LICENSE="GNU LGPL v2.1"
SRC_URI="http://prdownloads.sourceforge.net/liblo/$portVersionedName.tar.gz"
CHECKSUM_SHA256="da94a9b67b93625354dd89ff7fe31e5297fc9400b6eaf7378c82ee1caf7db909"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PATCHES="$portVersionedName.patchset"
PROVIDES="
liblo$secondaryArchSuffix = $portVersion compat >= 0
cmd:oscdump
cmd:oscsend
lib:liblo$secondaryArchSuffix = 7.2.0 compat >= 7
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
cmd:find
"
BUILD()
{
libtoolize --force --copy --install
aclocal
autoconf
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs liblo
fixPkgconfig
# devel package
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
liblo${secondaryArchSuffix}_devel = $portVersion compat >= 0
devel:liblo$secondaryArchSuffix = 7.2.0 compat >= 7
"
REQUIRES_devel="
liblo$secondaryArchSuffix == $portVersion base
"