mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-30 03:58:51 +02:00
68 lines
1.7 KiB
Plaintext
68 lines
1.7 KiB
Plaintext
SUMMARY="ocp - Open Cubic Player"
|
|
DESCRIPTION="ocp - Open Cubic Player, a music player ported from DOS"
|
|
HOMEPAGE="http://stian.cubic.org/project-ocp.php"
|
|
SRC_URI="git://git.code.sf.net/p/opencubicplayer/code"
|
|
REVISION="1"
|
|
LICENSE="GNU GPL v2"
|
|
COPYRIGHT="1994-2012 Niklas Beisert, Stian Skjelstad and others"
|
|
#DEPEND="media-libs/libvorbis >= 1.3.1
|
|
# media-libs/libogg >= 1.2.2
|
|
# sys-devel/gettext >= 0.18.1.1
|
|
# media-libs/libsdl >= 1.2.14"
|
|
## media-libs/flac >= 1.2.1"
|
|
## ncurses zlib ... cf. ocp.spec
|
|
|
|
ARCHITECTURES="x86 ?x86_64"
|
|
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
|
# x86_gcc2 is fine as primary target architecture as long as we're building
|
|
# for a different secondary architecture.
|
|
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
|
else
|
|
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
|
|
fi
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
ocp$secondaryArchSuffix = $portVersion
|
|
cmd:ocp = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
libsdl$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libncurses$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
lib:libogg$secondaryArchSuffix >= 0.8.0
|
|
lib:libvorbis$secondaryArchSuffix >= 0.4.5
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
devel:libsdl_1.2$secondaryArchSuffix >= 0.10
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libncurses$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix >= 1.2.8
|
|
devel:libogg$secondaryArchSuffix >= 0.8.0
|
|
devel:libvorbis$secondaryArchSuffix >= 0.4.5
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:sdl_config$secondaryArchSuffix
|
|
"
|
|
|
|
SOURCE_DIR="code"
|
|
|
|
BUILD()
|
|
{
|
|
autoconf
|
|
runConfigure ./configure
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|