mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
HaikuTwitter: update from BEP to recipe.
Does not build as HaikuTwitter itself needs to be upgraded to use a newer version of TwitCurl.
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
DESCRIPTION="Twitter client for Haiku OS"
|
||||
HOMEPAGE="http://code.google.com/p/haikutwitter/"
|
||||
SRC_URI="svn+http://haikutwitter.googlecode.com/svn/tags/1.0/HaikuTwitter"
|
||||
REVISION="1"
|
||||
STATUS_HAIKUE="broken"
|
||||
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
|
||||
DEPEND="net-misc/curl >= 7.26.0"
|
||||
BUILD()
|
||||
{
|
||||
cd haikutwitter-1.0
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd haikutwitter-1.0
|
||||
make install
|
||||
}
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2010-2012 Martin Hebnes Pedersen"
|
||||
55
haiku-apps/haikutwitter/haikutwitter-1.0_git.recipe
Normal file
55
haiku-apps/haikutwitter/haikutwitter-1.0_git.recipe
Normal file
@@ -0,0 +1,55 @@
|
||||
SUMMARY="Native Twitter client for Haiku"
|
||||
DESCRIPTION="HaikuTwitter is an open-source Twitter client for Haiku. It's \
|
||||
based off the open-source TwitCurl library."
|
||||
COPYRIGHT="2012 Martin Pedersen"
|
||||
LICENSE="MIT"
|
||||
HOMEPAGE="https://github.com/HaikuArchives/HaikuTwitter"
|
||||
SRC_URI="https://github.com/HaikuArchives/HaikuTwitter/archive/a9241f8de96e8427ddc12c947dadcfc6350c1124.tar.gz"
|
||||
CHECKSUM_SHA256="2b5f1906cea0d863ac3dca5a2d064cfeb28f99c2880eaf1b5e69e9197ac351a1"
|
||||
SOURCE_DIR="HaikuTwitter-a9241f8de96e8427ddc12c947dadcfc6350c1124"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="x86 ?x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||
# for a different secondary architecture.
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
fi
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
haikutwitter$secondaryArchSuffix = $portVersion
|
||||
app:HaikuTwitter = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libcurl$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:mkdepend
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs OBJ_DIR=objects
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
cp objects/HaikuTwitter $appsDir
|
||||
|
||||
addAppDeskbarSymlink $appsDir/HaikuTwitter
|
||||
}
|
||||
Reference in New Issue
Block a user