mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
Overhaul the haiku-apps directory
* Fixed PROVIDES/*REQUIRES entries * Added vcs hashes to the ports needing it in the SRC_URI * Made single executable apps install to the top level $appsDir * Added patches for gcc4 versions of most apps * Added patches for apps that couldn't build on any arch ( even though they were marked as working :( ) * Other misc fixes that I've forgotten already because I'm sick of looking at this directory
This commit is contained in:
@@ -1,17 +1,25 @@
|
||||
DESCRIPTION="Resourcer is an all-purpose resource and attribute editor with a full-featured interface editor. It also contains plug-in editors for 31 other data types, including images, cursors, sounds, movies, text, and icons."
|
||||
SUMMARY="Resourcer is an all-purpose resource and attribute editor with a full-featured interface editor."
|
||||
SUMMARY="A resource and attribute editor with a full-featured interface editor."
|
||||
DESCRIPTION="
|
||||
Resourcer is an all-purpose resource and attribute editor with a
|
||||
full-featured interface editor. It also contains plug-in editors for
|
||||
31 other data types, including images, cursors, sounds, movies, text,
|
||||
and icons."
|
||||
COPYRIGHT="2000 Nathan Whitehorn"
|
||||
LICENSE="BSD (3-clause)"
|
||||
HOMEPAGE="https://gitorious.org/desknotes/resourcer"
|
||||
SRC_URI="git+https://git.gitorious.org/desknotes/resourcer.git"
|
||||
REVISION="1"
|
||||
SRC_URI="git+https://git.gitorious.org/desknotes/resourcer.git#b93cb9e"
|
||||
REVISION="2"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
|
||||
|
||||
PROVIDES="
|
||||
resourcer = $portVersion
|
||||
app:resourcer = $portVersion"
|
||||
app:resourcer = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion"
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
@@ -20,17 +28,14 @@ BUILD_PREREQUIRES="
|
||||
cmd:mkdepend"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion"
|
||||
|
||||
COPYRIGHT="
|
||||
2000 Nathan Whitehorn"
|
||||
|
||||
LICENSE="BSD (3-clause)"
|
||||
haiku_devel >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd main
|
||||
make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
||||
make OBJ_DIR=objects \
|
||||
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
||||
|
||||
# The two next steps might not be required
|
||||
# The first one probably isn't, because according to the description
|
||||
@@ -38,10 +43,12 @@ BUILD()
|
||||
# but I'm not really sure about the second one
|
||||
|
||||
cd ../editors
|
||||
make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
||||
make OBJ_DIR=objects \
|
||||
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
||||
|
||||
cd ../reslib
|
||||
make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
||||
make OBJ_DIR=objects \
|
||||
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
@@ -50,13 +57,8 @@ INSTALL()
|
||||
# because I can't figure out how the files in the other directories
|
||||
# should be installed
|
||||
|
||||
cd main
|
||||
|
||||
architecture=`echo $buildArchitecture | sed 's/_/-/g'`
|
||||
|
||||
cd objects.$architecture-release
|
||||
mkdir -p $appsDir
|
||||
cp -a Resourcer $appsDir
|
||||
cp -a main/objects/Resourcer $appsDir
|
||||
|
||||
addAppDeskbarSymlink $appsDir/Resourcer
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user