iup: fix devel PROVIDES, remove empty patch.

* reformat.
This commit is contained in:
Jerome Duval
2018-09-03 14:35:29 +02:00
parent 96936a1a1b
commit 34d5fb6fe6
2 changed files with 13 additions and 10 deletions

View File

@@ -11,11 +11,14 @@ the TEX text editor. This model, combined with the dialog-specification \
language (LED) or with the Lua binding (IupLua) makes the dialog creation task \
more flexible and independent from the graphics system's resolution."
HOMEPAGE="http://www.tecgraf.puc-rio.br/iup/"
COPYRIGHT="1994-2013 Tecgraf, PUC-Rio."
LICENSE="MIT"
REVISION="2"
SOURCE_URI="http://downloads.sourceforge.net/project/iup/3.8/Docs%20and%20Sources/iup-3.8_Sources.zip" # The tar.gz has permission problems.
CHECKSUM_SHA256="8030c4f35c3a3f096e6552cecb600d8ee95c9c379c76368d99fa6ffc6ebc8b5c"
LICENSE="MIT"
COPYRIGHT="1994-2013 Tecgraf, PUC-Rio."
REVISION="1"
SOURCE_DIR="iup"
#PATCHES="iup-3.8.patchset"
ARCHITECTURES="x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -52,14 +55,16 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix
lib:liblua$secondaryArchSuffix
lib:libcd$secondaryArchSuffix >= 5.6
lib:libim$secondaryArchSuffix >= 3.8
lib:libfreetype$secondaryArchSuffix
lib:libGLU$secondaryArchSuffix
lib:libim$secondaryArchSuffix >= 3.8
lib:liblua$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
PROVIDES_devel="
iup${secondaryArchSuffix}_devel = $portVersion
devel:libiup$secondaryArchSuffix = $portVersion
devel:libiup_mglplot$secondaryArchSuffix = $portVersion
devel:libiup_pplot$secondaryArchSuffix = $portVersion
@@ -89,7 +94,9 @@ PROVIDES_devel="
devel:libiuptuio$secondaryArchSuffix = $portVersion
devel:libiupweb$secondaryArchSuffix = $portVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libcd$secondaryArchSuffix
devel:libfontconfig$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
@@ -100,17 +107,13 @@ BUILD_REQUIRES="
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:gcc$secondaryArchSuffix
cmd:as$secondaryArchSuffix
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:which
cmd:yacc
"
SOURCE_DIR="iup"
#PATCHES="iup-3.8.patchset"
BUILD()
{
export LUA52=`finddir B_SYSTEM_DIRECTORY`