mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
De-lint recipes.
* allegro Don't start SUMMARY with app name. Re-ordered blocks * bzip2 Don't start SUMMARY with app name. Re-ordered blocks * caya Don't start SUMMARY with app name. Re-ordered blocks * clucene Don't start SUMMARY with app name. Re-ordered blocks * cyassl Don't start SUMMARY with app name. Re-ordered blocks * digiclock Don't start SUMMARY with app name. Re-ordered blocks * dockbert Don't start SUMMARY with app name. Re-ordered blocks * docutils Don't start SUMMARY with app name. Re-ordered blocks * dos2unix Don't start SUMMARY with app name. Re-ordered blocks * ducksaver Don't start SUMMARY with app name. Re-ordered blocks * erlang Don't start SUMMARY with app name. Re-ordered blocks * fdupes Don't start SUMMARY with app name. Re-ordered blocks * figlet (old BEP style) Don't start SUMMARY with app name. Re-ordered blocks * flac Don't start SUMMARY with app name. Re-ordered blocks * gdal Don't start SUMMARY with app name. Re-ordered blocks * gemrb Don't start SUMMARY with app name. Re-ordered blocks * giflib Don't start SUMMARY with app name. Re-ordered blocks * glib Don't start SUMMARY with app name. Re-ordered blocks * globe Don't start SUMMARY with app name. Re-ordered blocks * gmp Don't start SUMMARY with app name. Re-ordered blocks
This commit is contained in:
@@ -1,24 +1,22 @@
|
||||
SUMMARY="Allegro game programming library"
|
||||
DESCRIPTION="
|
||||
Allegro 4 and Allegro 5 are cross-platform, libraries mainly aimed at video \
|
||||
game and multimedia programming. They handle common, low-level tasks such as \
|
||||
creating windows, accepting user input, loading data, drawing images, playing \
|
||||
sounds, etc. and generally abstracting away the underlying platform. However, \
|
||||
Allegro is not a game engine: you are free to design and structure your \
|
||||
program as you like.
|
||||
SUMMARY="A cross-platform game programming library"
|
||||
DESCRIPTION="Allegro 4 and Allegro 5 are cross-platform, libraries mainly \
|
||||
aimed at video game and multimedia programming. They handle common, low-level \
|
||||
tasks such as creating windows, accepting user input, loading data, drawing \
|
||||
images, playing sounds, etc. and generally abstracting away the underlying \
|
||||
platform. However, Allegro is not a game engine: you are free to design and \
|
||||
structure your program as you like.
|
||||
|
||||
According to the Oxford Companion to Music, Allegro is the Italian for «quick, \
|
||||
lively, bright». It is also a recursive acronym which stands for «Allegro Low \
|
||||
LEvel Game ROutines». Allegro was started by Shawn Hargreaves in the mid-90's \
|
||||
but has since received contributions from hundreds of people over the net.
|
||||
"
|
||||
but has since received contributions from hundreds of people over the net."
|
||||
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.2/allegro-4.4.2.tar.gz/download"
|
||||
CHECKSUM_SHA256="1b21e7577dbfada02d85ca4510bd22fedaa6ce76fde7f4838c7c1276eb840fdc"
|
||||
LICENSE="Allegro"
|
||||
COPYRIGHT="1998-2010 Shawn Hargreaves et al."
|
||||
|
||||
REVISION="1"
|
||||
PATCHES="allegro-4.4.2.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
@@ -27,7 +25,6 @@ PROVIDES="
|
||||
allegro$secondaryArchSuffix = $portVersion
|
||||
lib:liballeg$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libpng$secondaryArchSuffix
|
||||
@@ -42,40 +39,6 @@ if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
"
|
||||
fi
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libpng$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
devel:libogg$secondaryArchSuffix
|
||||
devel:libvorbis$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:cmake
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PATCHES="allegro-4.4.2.patchset"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake . -DCMAKE_INSTALL_PREFIX=$prefix -DDOCDIR=$docDir -DMANDIR=$manDir \
|
||||
-DLIB_SUFFIX=$secondaryArchSubDir
|
||||
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
|
||||
@@ -99,3 +62,33 @@ REQUIRES_devel="
|
||||
haiku$secondaryArchSuffix
|
||||
allegro$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libpng$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
devel:libogg$secondaryArchSuffix
|
||||
devel:libvorbis$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:cmake
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake . -DCMAKE_INSTALL_PREFIX=$prefix -DDOCDIR=$docDir -DMANDIR=$manDir \
|
||||
-DLIB_SUFFIX=$secondaryArchSubDir
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs liballeg libjpgalleg libloadpng liblogg
|
||||
packageEntries devel $developDir $binDir
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user