interface_elements: fix build

This commit is contained in:
Sergei Reznikov
2017-06-17 21:19:44 +03:00
parent 2ecd3fe0c0
commit 1d562755a7

View File

@@ -1,11 +1,14 @@
SUMMARY="Interface Elements Library"
DESCRIPTION="Attila Mezei's Interface Elements. This library helps you to \
instantiate window archives."
HOMEPAGE="http://github.com/HaikuArchives/InterfaceElements"
SOURCE_URI="git://github.com/HaikuArchives/InterfaceElements"
REVISION="1"
LICENSE="GNU GPL v3"
DESCRIPTION="Attila Mezei's Interface Elements.
This library helps you to instantiate window archives."
HOMEPAGE="https://github.com/HaikuArchives/InterfaceElements/"
COPYRIGHT="1997-1998 Attila Mezei"
LICENSE="GNU GPL v3"
REVISION="2"
COMMIT="43f91ffb883a94d4c239eda28a8ec2e0b985419e"
SOURCE_URI="https://github.com/HaikuArchives/InterfaceElements/archive/$COMMIT.tar.gz"
CHECKSUM_SHA256="443c685366a9517cad428c4e140c448c529a835585df321bb18732bdfbec198d"
SOURCE_DIR="InterfaceElements-$COMMIT"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
@@ -13,20 +16,25 @@ SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
interface_elements$secondaryArchSuffix = $portVersion
lib:libie$secondaryArchSuffix
"
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES=""
"
PROVIDES_devel="
interface_elements${secondaryArchSuffix}_devel
devel:libie$secondaryArchSuffix
"
REQUIRES_devel="
interface_elements${secondaryArchSuffix} == $portVersion base
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
makefile_engine
cmd:gcc$secondaryArchSuffix
cmd:make
"
SOURCE_DIR="InterfaceElements-master"
#PATCHES="IEWindow.patch"
"
BUILD()
{
@@ -35,8 +43,7 @@ BUILD()
}
INSTALL()
{
mkdir -p $includeDir
mkdir -p $libDir
mkdir -p $includeDir $libDir
cd "Develop/IE library"
make BUILDHOME=/system/develop INSTALL_DIR=$libDir $jobArgs install
@@ -47,11 +54,3 @@ INSTALL()
packageEntries devel \
$developDir
}
PROVIDES_devel="
interface_elements${secondaryArchSuffix}_devel
devel:libie$secondaryArchSuffix
"
REQUIRES_devel="
interface_elements${secondaryArchSuffix} == $portVersion base
"