mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
Added recipes for libprefs and launchpad, word by GCI2013 student Adrián Arroyo Calle
This commit is contained in:
59
haiku-apps/launchpad/launchpad-1.3.recipe
Normal file
59
haiku-apps/launchpad/launchpad-1.3.recipe
Normal file
@@ -0,0 +1,59 @@
|
||||
SUMMARY="A simple BeOS application/file/folder launcher"
|
||||
DESCRIPTION="A simple BeOS application/file/folder launcher"
|
||||
HOMEPAGE="http://sourceforge.net/projects/launchpad"
|
||||
SRC_URI="http://launchpad.cvs.sourceforge.net/viewvc/launchpad/buta/LaunchPad/?view=tar"
|
||||
#CHECKSUM_MD5="9001e130b7ceb90aaef9791b8fac1afb"
|
||||
|
||||
REVISION="1"
|
||||
LICENSE="BSD (3-clause)"
|
||||
COPYRIGHT="1997-2000 Hiromasa Kato"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
launchpad = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libprefs
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
lib:libprefs
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:autoconf
|
||||
cmd:libtool
|
||||
cmd:aclocal
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
SOURCE_DIR="LaunchPad"
|
||||
|
||||
PATCHES="
|
||||
configure.patch
|
||||
configure.in.patch
|
||||
Makefile.in.patch
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
./configure --with-libprefs=$portPackageLinksDir/lib~libprefs/lib
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
cp src/LaunchPad $appsDir
|
||||
addAppDeskbarSymlink $appsDir/LaunchPad
|
||||
|
||||
}
|
||||
13
haiku-apps/launchpad/patches/Makefile.in.patch
Normal file
13
haiku-apps/launchpad/patches/Makefile.in.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/src/Makefile.in b/src/Makefile.in
|
||||
index 15486d7..c8c4802 100644
|
||||
--- a/src/Makefile.in
|
||||
+++ b/src/Makefile.in
|
||||
@@ -25,7 +25,7 @@ RSRCS = LaunchPad_ppc.rsrc
|
||||
|
||||
OBJS = $(addsuffix .o, $(foreach file, $(SRCS), $(basename $(notdir $(file)))))
|
||||
|
||||
-LIBS = $(LIBPREFSDIR)/bigprefs.$(CPU).a -lbe
|
||||
+LIBS = $(LIBPREFSDIR)/libprefs.so -lbe # Was first $(LIBPREFSDIR)/bigprefs.$(CPU).a
|
||||
|
||||
all: LaunchPad
|
||||
|
||||
26
haiku-apps/launchpad/patches/configure.in.patch
Normal file
26
haiku-apps/launchpad/patches/configure.in.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
diff --git a/configure.in b/configure.in
|
||||
index 9cd3a85..0138f84 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -20,21 +20,6 @@ esac
|
||||
AC_SUBST(CPU)
|
||||
|
||||
dnl -------------------------------------------------------------------
|
||||
-dnl Check for BeOS R4
|
||||
-dnl -------------------------------------------------------------------
|
||||
-AC_MSG_CHECKING( [BeOS Release] )
|
||||
-release=[$(uname -r | sed 's/\([^\.]*\)\..*/\1/')]
|
||||
-case "$release" in
|
||||
- 5|4)
|
||||
- AC_MSG_RESULT( [post-R4] )
|
||||
- ;;
|
||||
- *)
|
||||
- AC_MSG_RESULT( [not R4] )
|
||||
- AC_MSG_ERROR( [BeOS Release 4 is required] )
|
||||
- ;;
|
||||
-esac
|
||||
-
|
||||
-dnl -------------------------------------------------------------------
|
||||
dnl Check for libprefs source distribution
|
||||
dnl -------------------------------------------------------------------
|
||||
AC_ARG_WITH( libprefs, [ --with-libprefs=PATH path to the libprefs distribution ] )
|
||||
13
haiku-apps/launchpad/patches/configure.patch
Normal file
13
haiku-apps/launchpad/patches/configure.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/configure b/configure
|
||||
index a438f22..1162706 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -585,7 +585,7 @@ echo $ac_n "checking BeOS Release ""... $ac_c" 1>&6
|
||||
echo "configure:586: checking BeOS Release " >&5
|
||||
release=$(uname -r | sed 's/\([^\.]*\)\..*/\1/')
|
||||
case "$release" in
|
||||
- 5|4)
|
||||
+ 5|4|1)
|
||||
echo "$ac_t""post-R4 " 1>&6
|
||||
;;
|
||||
*)
|
||||
Reference in New Issue
Block a user