mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Add a port for the Rhapsody IRC client.
Named rhapsody-irc to avoid possible clash, but we could also just name it rhapsody ?
This commit is contained in:
38
net-irc/rhapsody-irc/patches/rhapsody-irc-0.28b.patch
Normal file
38
net-irc/rhapsody-irc/patches/rhapsody-irc-0.28b.patch
Normal file
@@ -0,0 +1,38 @@
|
||||
diff -ur rhapsody-0.28b.org/configure rhapsody-0.28b/configure
|
||||
--- rhapsody-0.28b.org/configure 2006-02-24 07:46:19.017301504 +0100
|
||||
+++ rhapsody-0.28b/configure 2012-11-22 20:29:15.727973888 +0100
|
||||
@@ -168,6 +168,25 @@
|
||||
|
||||
STDDOCSPATH="/usr/share/doc/rhapsody"
|
||||
|
||||
+elif [ "$OS" = "Haiku" ] ; then
|
||||
+ CCPATH="/boot/develop/tools/gnupro/bin /boot/develop/bin"
|
||||
+ CURSESPATH="/boot/develop/headers/3rdparty /boot/develop/headers /boot/develop/headers/gnu"
|
||||
+
|
||||
+ GCCBASELIBS="-lncurses -lnetwork"
|
||||
+ GCCBASELIBPATHS=""
|
||||
+ GCCBASEINCPATHS=""
|
||||
+ GCCBASEFLAGS="-g -Wall -Wno-unused"
|
||||
+
|
||||
+ CCBASELIBS=""
|
||||
+ CCBASELIBPATHS=""
|
||||
+ CCBASEINCPATHS=""
|
||||
+ CCBASEFLAGS=""
|
||||
+
|
||||
+ STDDOCSPATH="`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/rhapsody"
|
||||
+ if [ -z "$INSTALLPATH" ] ; then
|
||||
+ INSTALLPATH="`finddir B_COMMON_BIN_DIRECTORY`"
|
||||
+ fi
|
||||
+
|
||||
elif [ "$OS" = "HP-UX" ] ; then
|
||||
CCPATH="/bin /usr/bin /usr/local/bin"
|
||||
CURSESPATH="/usr/include /usr/local/include /usr/include/ncurses /usr/local/include/ncurses"
|
||||
@@ -235,7 +254,7 @@
|
||||
# Set install, docs, header and lib path if not provided #
|
||||
###########################################################
|
||||
|
||||
-if [ $USER = "root" ] ; then
|
||||
+if [ $USER = "root" -o "$UID" = "0" ] ; then
|
||||
echo "Running as root."
|
||||
|
||||
if [ -z "$INSTALLPATH" ] ; then
|
||||
21
net-irc/rhapsody-irc/rhapsody-irc-0.28b.bep
Normal file
21
net-irc/rhapsody-irc/rhapsody-irc-0.28b.bep
Normal file
@@ -0,0 +1,21 @@
|
||||
DESCRIPTION="Text console IRC client"
|
||||
HOMEPAGE="http://rhapsody.sourceforge.net/"
|
||||
SRC_URI="http://downloads.sourceforge.net/project/rhapsody/rhapsody/Rhapsody%20IRC%200.28b/rhapsody_0.28b.tgz"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="untested"
|
||||
DEPEND=""
|
||||
CHECKSUM_MD5="0792de636a2625a826491e387fcb1305"
|
||||
|
||||
BUILD {
|
||||
cd rhapsody-0.28b
|
||||
./configure
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd rhapsody-0.28b
|
||||
make install
|
||||
}
|
||||
|
||||
COPYRIGHT="2006 Adrian Gonera"
|
||||
LICENSE="GNU GPL v2"
|
||||
Reference in New Issue
Block a user