diff options
author | Fabian Groffen <grobian@gentoo.org> | 2007-08-19 15:51:54 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2007-08-19 15:51:54 +0000 |
commit | f326bfa1de2e10c4eaa30ca88cf7970a233d0efc (patch) | |
tree | dcbcbbf8d3c6cd86b0962e86a7e695728f42e43d | |
parent | Experiment to unify and automate creating package config files. (diff) | |
download | prefix-f326bfa1de2e10c4eaa30ca88cf7970a233d0efc.tar.gz prefix-f326bfa1de2e10c4eaa30ca88cf7970a233d0efc.tar.bz2 prefix-f326bfa1de2e10c4eaa30ca88cf7970a233d0efc.zip |
Moved to prefix main tree
svn path=/prefix-overlay/; revision=320
-rw-r--r-- | gnustep-base/gnustep-make/Manifest | 5 | ||||
-rw-r--r-- | gnustep-base/gnustep-make/files/gnustep-2.csh | 16 | ||||
-rw-r--r-- | gnustep-base/gnustep-make/files/gnustep-2.sh | 16 | ||||
-rw-r--r-- | gnustep-base/gnustep-make/files/gnustep-make-2.0.1-destdir.patch | 21 | ||||
-rw-r--r-- | gnustep-base/gnustep-make/gnustep-make-2.0.1.ebuild | 87 |
5 files changed, 0 insertions, 145 deletions
diff --git a/gnustep-base/gnustep-make/Manifest b/gnustep-base/gnustep-make/Manifest deleted file mode 100644 index 67dcc99..0000000 --- a/gnustep-base/gnustep-make/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX gnustep-2.csh 356 RMD160 f667bff3d56a5fe3759926164390017ae1fb221a SHA1 2a3f3490deea7c7e84defe71c8505e47f24983e8 SHA256 430e5bb7281db8abf0641d9a16d14b993642fc33a24736166b8df68c9bbf6643 -AUX gnustep-2.sh 360 RMD160 31e495c76dad65fd605c4b0275d384cd6b1d0cd9 SHA1 9d35754dd5590cbbd872c020f490717b404a1268 SHA256 960a8934f82aec4337279c75be844823897a21237aedbb3e4144e3e28d13d611 -AUX gnustep-make-2.0.1-destdir.patch 975 RMD160 c2647803d412c954b546e4352310705aac805159 SHA1 94ea603da99cc6b973ecfbd7e3c3980f53c5da0a SHA256 68e386ad5dfeb90138723081ce0d45fd6c426dbcf9660784eb85707dee7be474 -DIST gnustep-make-2.0.1.tar.gz 444343 RMD160 b70f2cfbca02898018403787cd5ab879a0beafd8 SHA1 5b9722a364e6b839542fd7ccc6acf7ed4e5cbf6f SHA256 63d5f1bc8f2f12707f0c109ddff3492a297e4ae21ff13eee62ed4e2aa761f653 -EBUILD gnustep-make-2.0.1.ebuild 2195 RMD160 8998ec85a7d0d92af03020af64ba40bef8aa33a5 SHA1 f534c0b860c7a590f44ca9bdc0b28635c47933c2 SHA256 22320875fe5b99c00efd92e24df6a25a4c59d9f52e92875ff8c485eda99fc7e2 diff --git a/gnustep-base/gnustep-make/files/gnustep-2.csh b/gnustep-base/gnustep-make/files/gnustep-2.csh deleted file mode 100644 index 2977642..0000000 --- a/gnustep-base/gnustep-make/files/gnustep-2.csh +++ /dev/null @@ -1,16 +0,0 @@ -#!@GENTOO_PORTAGE_EPREFIX@/bin/csh - -# Test for an interactive shell -if ( $?prompt ) then - - setenv GNUSTEP_SYSTEM_TOOLS "@GENTOO_PORTAGE_EPREFIX@"/usr/GNUstep/System/Tools - - if ( -x $GNUSTEP_SYSTEM_TOOLS/make_services ) then - $GNUSTEP_SYSTEM_TOOLS/make_services - endif - - if ( -x $GNUSTEP_SYSTEM_TOOLS/gdnc ) then - $GNUSTEP_SYSTEM_TOOLS/gdnc - endif - -endif diff --git a/gnustep-base/gnustep-make/files/gnustep-2.sh b/gnustep-base/gnustep-make/files/gnustep-2.sh deleted file mode 100644 index 76bd55e..0000000 --- a/gnustep-base/gnustep-make/files/gnustep-2.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!@GENTOO_PORTAGE_EPREFIX@/bin/sh - -# Test for an interactive shell -if [[ $- != *i* ]]; then - return -fi - -GNUSTEP_SYSTEM_TOOLS="@GENTOO_PORTAGE_EPREFIX@"/usr/GNUstep/System/Tools - -if [ -x ${GNUSTEP_SYSTEM_TOOLS}/make_services ]; then - ${GNUSTEP_SYSTEM_TOOLS}/make_services -fi - -if [ -x ${GNUSTEP_SYSTEM_TOOLS}/gdnc ]; then - ${GNUSTEP_SYSTEM_TOOLS}/gdnc -fi diff --git a/gnustep-base/gnustep-make/files/gnustep-make-2.0.1-destdir.patch b/gnustep-base/gnustep-make/files/gnustep-make-2.0.1-destdir.patch deleted file mode 100644 index 407a514..0000000 --- a/gnustep-base/gnustep-make/files/gnustep-make-2.0.1-destdir.patch +++ /dev/null @@ -1,21 +0,0 @@ -* grobian@gentoo.org: because we use sandbox this check fails (cannot - write outside the DESTDIR. Allowing to write in the - GNUSTEP_INSTALLATION_DIR means our sandbox is useless, since then - everything can be written, so prefer to just check the DESTDIR - location instead. - ---- Master/rules.make -+++ Master/rules.make -@@ -107,9 +107,9 @@ - - ifneq ($(GNUSTEP_INSTALLATION_DIR),) - internal-check-install-permissions: -- @if [ -d "$(GNUSTEP_INSTALLATION_DIR)" \ -- -a ! -w "$(GNUSTEP_INSTALLATION_DIR)" ]; then \ -- echo "*ERROR*: the software is configured to install itself into $(GNUSTEP_INSTALLATION_DIR)"; \ -+ @if [ -d "$(DESTDIR)$(GNUSTEP_INSTALLATION_DIR)" \ -+ -a ! -w "$(DESTDIR)$(GNUSTEP_INSTALLATION_DIR)" ]; then \ -+ echo "*ERROR*: the software is configured to install itself into $(DESTDIR)$(GNUSTEP_INSTALLATION_DIR)"; \ - echo "but you do not have permissions to write in that directory:";\ - echo "Aborting installation."; \ - echo ""; \ diff --git a/gnustep-base/gnustep-make/gnustep-make-2.0.1.ebuild b/gnustep-base/gnustep-make/gnustep-make-2.0.1.ebuild deleted file mode 100644 index 0ce31cf..0000000 --- a/gnustep-base/gnustep-make/gnustep-make-2.0.1.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="prefix" - -inherit gnustep-base eutils - -DESCRIPTION="GNUstep Makefile Package" - -HOMEPAGE="http://www.gnustep.org" -SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz" -KEYWORDS="~amd64 ~x86 ~x86-solaris" -SLOT="0" -LICENSE="GPL-2" - -DEPEND="${GNUSTEP_CORE_DEPEND} - >=sys-devel/make-3.75" -RDEPEND="${DEPEND}" - -pkg_setup() { - gnustep-base_pkg_setup - - if ! built_with_use sys-devel/gcc objc; then - ewarn "gcc must be compiled with Objective-C support! See the objc USE flag." - die "ObjC support not available" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-destdir.patch -} - -src_compile() { - cd ${S} - - local myconf - myconf="--prefix=${GNUSTEP_PREFIX} --with-layout=gnustep" - myconf="$myconf --with-config-file=${EPREFIX}/etc/GNUstep/GNUstep.conf" - myconf="$myconf --enable-native-objc-exceptions" - econf $myconf || die "configure failed" - - emake - # Prepare doc here (needed when no gnustep-make is already installed) - if use doc ; then - # If a gnustep-1 environment is set - unset GNUSTEP_MAKEFILES - cd Documentation - emake -j1 all install || die "doc make has failed" - cd .. - fi -} - -src_install() { - # Get GNUSTEP_* variables - . ./GNUstep.conf - - local make_eval="-j1" - use debug || make_eval="${make_eval} debug=no" - make_eval="${make_eval} verbose=yes" - - emake ${make_eval} DESTDIR=${D} install || die "install has failed" - - # Copy the documentation - if use doc ; then - dodir ${GNUSTEP_SYSTEM_LIBRARY} - cp -r Documentation/tmp-installation/System/Library/Documentation \ - ${D}${GNUSTEP_SYSTEM_LIBRARY} - fi - - exeinto /etc/profile.d - doexe ${FILESDIR}/gnustep-2.sh - doexe ${FILESDIR}/gnustep-2.csh - # dirty, I know... - eprefixify "${ED}"/etc/profile.d/gnustep-2.{sh,csh} - - dodir /etc/env.d - cat <<- EOF > "${ED}"/etc/env.d/99gnustep -PATH=${GNUSTEP_SYSTEM_TOOLS}:${GNUSTEP_LOCAL_TOOLS} -LDPATH=${GNUSTEP_SYSTEM_LIBRARIES}:${GNUSTEP_LOCAL_LIBRARIES} -MANPATH=${GNUSTEP_SYSTEM_DOC_MAN}:${GNUSTEP_LOCAL_DOC_MAN} -INFOPATH=${GNUSTEP_SYSTEM_DOC_INFO}:${GNUSTEP_LOCAL_DOC_INFO} -INFODIR=${GNUSTEP_SYSTEM_DOC_INFO}:${GNUSTEP_LOCAL_DOC_INFO} -EOF -} |