mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
libsamplerate: convert to actual recipe
This commit is contained in:
@@ -1,23 +1,69 @@
|
||||
DESCRIPTION="libsamplerate"
|
||||
HOMEPAGE="http://www.mega-nerd.com/SRC/"
|
||||
COPYRIGHT="Copyright (C) 2002-2011 Erik de Castro Lopo <erikd@mega-nerd.com>"
|
||||
SUMMARY="Portable Network Graphics library"
|
||||
DESCRIPTION="
|
||||
libsamplerate is the official PNG reference library. It supports almost all PNG \
|
||||
features, is extensible, and has been extensively tested for over 17 years
|
||||
"
|
||||
HOMEPAGE="http://www.mega-nerd.com/SRC/"
|
||||
COPYRIGHT="
|
||||
1998-2011 Glenn Randers-Pehrson
|
||||
1996-1997 Andreas Dilger
|
||||
1995-1996 Guy Eric Schalnat, Group 42, Inc.
|
||||
"
|
||||
LICENSE="GNU GPL v2"
|
||||
|
||||
SRC_URI="http://www.mega-nerd.com/SRC/libsamplerate-0.1.8.tar.gz"
|
||||
CHECKSUM_MD5="1c7fb25191b4e6e3628d198a66a84f47"
|
||||
SRC_URI="http://www.mega-nerd.com/SRC/libsamplerate-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="93b54bdf46d5e6d2354b7034395fe329c222a966790de34520702bb9642f1c06"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
#PATCHES="libsamplerate-1.5.12.patchset"
|
||||
|
||||
PROVIDES="
|
||||
libsamplerate$secondaryArchSuffix = $portVersion compat >= 0
|
||||
lib:libsamplerate$secondaryArchSuffix = 15.12.0 compat >= 15
|
||||
"
|
||||
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:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd libsamplerate-0.1.8
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
|
||||
make
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd libsamplerate-0.1.8
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libsamplerate
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libsamplerate${secondaryArchSuffix}_devel = $portVersion compat >= 0
|
||||
devel:libsamplerate$secondaryArchSuffix = 15.12.0 compat >= 15
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libsamplerate$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user