mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-20 10:40:05 +02:00
72 lines
1.5 KiB
Bash
72 lines
1.5 KiB
Bash
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"
|
|
REVISION="1"
|
|
SOURCE_URI="http://prdownloads.sourceforge.net/liblo/liblo-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="ace1b4e234091425c150261d1ca7070cece48ee3c228a5612d048116d864c06a"
|
|
PATCHES="liblo-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
liblo$secondaryArchSuffix = $portVersion compat >= 0
|
|
cmd:oscdump
|
|
cmd:oscsend
|
|
cmd:oscsendfile
|
|
lib:liblo$secondaryArchSuffix = 7.3.0 compat >= 7
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
liblo${secondaryArchSuffix}_devel = $portVersion compat >= 0
|
|
devel:liblo$secondaryArchSuffix = 7.3.0 compat >= 7
|
|
"
|
|
REQUIRES_devel="
|
|
liblo$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:find
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoconf
|
|
CFLAGS="-D_BSD_SOURCE" runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs liblo
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|