From e559e4fb78542d9d565fdad23682d9dd6f0961b1 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Thu, 7 Oct 2010 22:44:01 +0000 Subject: [PATCH] Updated sharutils to 4.10, note that it only builds with gcc4 so far. --- app-arch/sharutils/sharutils-4.10.bep | 23 ++++++++++ .../sharutils-4.6.3-downstream.patch | 20 --------- app-arch/sharutils/sharutils-4.6.3.sh | 42 ------------------- 3 files changed, 23 insertions(+), 62 deletions(-) create mode 100644 app-arch/sharutils/sharutils-4.10.bep delete mode 100644 app-arch/sharutils/sharutils-4.6.3-downstream.patch delete mode 100755 app-arch/sharutils/sharutils-4.6.3.sh diff --git a/app-arch/sharutils/sharutils-4.10.bep b/app-arch/sharutils/sharutils-4.10.bep new file mode 100644 index 000000000..d06b88aa6 --- /dev/null +++ b/app-arch/sharutils/sharutils-4.10.bep @@ -0,0 +1,23 @@ +DESCRIPTION="sharutils" +HOMEPAGE="http://www.gnu.org/software/sharutils/" +SRC_URI="ftp://ftp.gnu.org/gnu/sharutils/sharutils-4.10.tar.gz" +CHECKSUM_MD5="c8bbfa89810ce9f5399b38392549207c" +REVISION="1" +STATUS_HAIKU="stable" +DEPEND="" +MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building." +BUILD { + cd sharutils-4.10 + MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man + ./configure --prefix=`finddir B_COMMON_DIRECTORY` \ + --mandir=$MANDIR + make +} + +INSTALL { + cd sharutils-4.10 + make install +} + +LICENSE="GNU GPL v3" +COPYRIGHT="1990-2010 Free Software Foundation, Inc." diff --git a/app-arch/sharutils/sharutils-4.6.3-downstream.patch b/app-arch/sharutils/sharutils-4.6.3-downstream.patch deleted file mode 100644 index b5bb13196..000000000 --- a/app-arch/sharutils/sharutils-4.6.3-downstream.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -Naur sharutils-4.6.3-original/configure.ac sharutils-4.6.3/configure.ac ---- sharutils-4.6.3-original/configure.ac 2009-04-07 00:40:07.000000000 -0400 -+++ sharutils-4.6.3/configure.ac 2009-04-07 00:41:01.000000000 -0400 -@@ -9,6 +9,7 @@ - AC_INIT([sharutils], sharutils_version, sharutils_eaddr) - AC_CONFIG_SRCDIR([src/shar.c]) - AC_CONFIG_HEADERS([config.h]) -+AC_CONFIG_MACRO_DIR([m4]) - - AM_INIT_AUTOMAKE([1.9 gnits dist-bzip2]) - AC_SUBST(DIST_ALPHA) -@@ -20,7 +21,7 @@ - AC_PROG_CC - AC_PROG_INSTALL - AC_PROG_MAKE_SET --AC_PROG_RANLIB -+LT_INIT - - dnl FIXME: Check that it is GNU diff indeed. - # Carefully avoid gdiff for X as found on SGI systems. diff --git a/app-arch/sharutils/sharutils-4.6.3.sh b/app-arch/sharutils/sharutils-4.6.3.sh deleted file mode 100755 index 6a756432b..000000000 --- a/app-arch/sharutils/sharutils-4.6.3.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/sh - -HOMEPAGE="http://www.gnu.org/software/sharutils/" -PACKAGE="app-arch/sharutils/" -VERSION="4.6.3" -URL="ftp://ftp.gnu.org/gnu/sharutils/REL-4.6.3/" -FILE="sharutils-4.6.3.tar.bz2" -PATCH_URL="http://ports.haiku-files.org/svn/haikuports/trunk/" -PATCH_FILE="sharutils-4.6.3-downstream.patch" - -# ------- This should not be edited ------- -PFX=/boot/common/ -HAIKUPORTS="http://ports.haiku-files.org/wiki/" -CWD=`pwd`/ -if [ ! -d ${PACKAGE}${VERSION} ] ; then - mkdir -p ${PACKAGE}${VERSION} -fi -if [ ! -e ${FILE} ] ; then - wget ${URL}${FILE} -fi -cd ${PACKAGE}${VERSION} -if [ ${FILE:(-7)} = "tar.bz2" ] ; then - tar -jxvf ${CWD}${FILE} -elif [ ${FILE:(-7)} = ".tar.gz" ] ; then - tar xvf ${CWD}${FILE} -fi -# ------- Begin Instructions ------- -cd sharutils-4.6.3 -wget ${PATCH_URL}${PACKAGE}${PATCH_FILE} -patch -p1 -i ${PATCH_FILE} -libtoolize --force --install -configure --prefix=${PFX} -aclocal --force -I m4 -automake --force-missing --gnits -autoconf --force -make && make install DEST_HOME=${PFX} && echo " Installation complete." || echo " Installation FAILED !" - -echo " For more information, see:" -echo " ${HAIKUPORTS}${PACKAGE}" -echo " ${HOMEPAGE}" -echo -