mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
Fix ordering
This commit is contained in:
@@ -13,12 +13,12 @@ contributions from all over the world! Some of its key features include:
|
||||
* Free - it won't cost you a dime, and there are no restrictions on its usage.
|
||||
"
|
||||
HOMEPAGE="http://alleg.sourceforge.net/"
|
||||
COPYRIGHT="1998-2010 Shawn Hargreaves et al."
|
||||
LICENSE="Allegro"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://sourceforge.net/projects/alleg/files/allegro/4.4.1.1/allegro-4.4.1.1.tar.gz/download"
|
||||
CHECKSUM_SHA256="4e29884cba88b289da5b22da93e8760d68a197d093b23f61e994f3594760d782"
|
||||
LICENSE="Allegro"
|
||||
COPYRIGHT="1998-2010 Shawn Hargreaves et al."
|
||||
|
||||
REVISION="1"
|
||||
PATCHES="allegro-4.4.1.1.patchset"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
|
||||
@@ -27,7 +27,6 @@ PROVIDES="
|
||||
allegro$secondaryArchSuffix = $portVersion
|
||||
lib:liballeg$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libpng
|
||||
@@ -36,39 +35,6 @@ REQUIRES="
|
||||
lib:libvorbis
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libpng$secondaryArchSuffix
|
||||
devel:libz
|
||||
devel:libogg
|
||||
devel:libvorbis
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:cmake
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PATCHES="allegro-4.4.1.1.patchset"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake . -DCMAKE_INSTALL_PREFIX=$prefix -DDOCDIR=$docDir -DMANDIR=$manDir
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs liballeg libjpgalleg libloadpng liblogg
|
||||
|
||||
packageEntries devel $developDir $binDir
|
||||
}
|
||||
|
||||
PROVIDES_devel="
|
||||
allegro${secondaryArchSuffix}_devel = $portVersion compat >= 4.4
|
||||
devel:liballeg$secondaryArchSuffix = $portVersion compat >= 4.4
|
||||
@@ -87,8 +53,37 @@ PROVIDES_devel="
|
||||
devel:liblogg = $portVersion compat >= 4.4
|
||||
devel:libloadpng = $portVersion compat >= 4.4
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
haiku$secondaryArchSuffix
|
||||
allegro$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libpng$secondaryArchSuffix
|
||||
devel:libz
|
||||
devel:libogg
|
||||
devel:libvorbis
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:cmake
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake . -DCMAKE_INSTALL_PREFIX=$prefix -DDOCDIR=$docDir -DMANDIR=$manDir
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs liballeg libjpgalleg libloadpng liblogg
|
||||
|
||||
packageEntries devel $developDir $binDir
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user