mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
71 lines
1.7 KiB
Bash
71 lines
1.7 KiB
Bash
SUMMARY="Open Cubic Player"
|
|
DESCRIPTION="
|
|
ocp - Open Cubic Player, a music player ported from DOS.
|
|
"
|
|
HOMEPAGE="http://stian.cubic.org/project-ocp.php"
|
|
SOURCE_URI="git://git.code.sf.net/p/opencubicplayer/code#f97d87f960624de013826e9c2970404f90eef211"
|
|
REVISION="1"
|
|
LICENSE="GNU GPL v2"
|
|
COPYRIGHT="1994-2012 Niklas Beisert, Stian Skjelstad and others"
|
|
## media-libs/flac >= 1.2.1"
|
|
## ncurses zlib ... cf. ocp.spec
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
ocp$secondaryArchSuffix = $portVersion
|
|
cmd:ocp = $portVersion
|
|
cmd:ocp_0.1.21 = $portVersion
|
|
cmd:ocp_curses = $portVersion
|
|
cmd:ocp_sdl = $portVersion
|
|
cmd:ultrafix.sh = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libSDL_1.2$secondaryArchSuffix >= 0.11.4
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libncurses$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
lib:libogg$secondaryArchSuffix >= 0.8.0
|
|
lib:libvorbis$secondaryArchSuffix >= 0.4.5
|
|
lib:libFLAC$secondaryArchSuffix
|
|
lib:libmad$secondaryArchSuffix >= 0.2.1
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libSDL_1.2$secondaryArchSuffix >= 0.11.4
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libncurses$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix >= 1.2.8
|
|
devel:libogg$secondaryArchSuffix >= 0.8.0
|
|
devel:libvorbis$secondaryArchSuffix >= 0.4.5
|
|
devel:libFLAC$secondaryArchSuffix
|
|
devel:libmad$secondaryArchSuffix >= 0.2.1
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:gettext$secondaryArchSuffix
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:makeinfo
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:sdl_config$secondaryArchSuffix
|
|
"
|
|
|
|
PATCHES="ocp-0.1.21_git.patchset"
|
|
|
|
SOURCE_DIR="code"
|
|
|
|
BUILD()
|
|
{
|
|
autoconf
|
|
runConfigure ./configure
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|