diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2007-11-19 12:18:04 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2007-11-19 12:18:04 +0000 |
commit | 6882300da69004f69cf60b0c939f375d635f3ec4 (patch) | |
tree | 5ad884acdc6ea125ac85bfc6ae1294192c696cc1 /gnustep-base | |
parent | alpha stable wrt #199035 (diff) | |
download | gentoo-2-6882300da69004f69cf60b0c939f375d635f3ec4.tar.gz gentoo-2-6882300da69004f69cf60b0c939f375d635f3ec4.tar.bz2 gentoo-2-6882300da69004f69cf60b0c939f375d635f3ec4.zip |
Version bump, fix some quoting
(Portage version: 2.1.3.19)
Diffstat (limited to 'gnustep-base')
-rw-r--r-- | gnustep-base/gnustep-make/ChangeLog | 8 | ||||
-rw-r--r-- | gnustep-base/gnustep-make/files/digest-gnustep-make-2.0.2 | 3 | ||||
-rw-r--r-- | gnustep-base/gnustep-make/gnustep-make-2.0.1.ebuild | 12 | ||||
-rw-r--r-- | gnustep-base/gnustep-make/gnustep-make-2.0.2.ebuild | 82 |
4 files changed, 97 insertions, 8 deletions
diff --git a/gnustep-base/gnustep-make/ChangeLog b/gnustep-base/gnustep-make/ChangeLog index 66756a344303..83c03afeeca1 100644 --- a/gnustep-base/gnustep-make/ChangeLog +++ b/gnustep-base/gnustep-make/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for gnustep-base/gnustep-make # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v 1.56 2007/11/16 15:00:32 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v 1.57 2007/11/19 12:18:04 voyageur Exp $ + +*gnustep-make-2.0.2 (19 Nov 2007) + + 19 Nov 2007; Bernard Cafarelli <voyageur@gentoo.org> + gnustep-make-2.0.1.ebuild, +gnustep-make-2.0.2.ebuild: + Version bump, fix some quoting 16 Nov 2007; Steve Dibb <beandog@gentoo.org> gnustep-make-2.0.1.ebuild: amd64 stable, bug 195990 diff --git a/gnustep-base/gnustep-make/files/digest-gnustep-make-2.0.2 b/gnustep-base/gnustep-make/files/digest-gnustep-make-2.0.2 new file mode 100644 index 000000000000..9bea7caa4022 --- /dev/null +++ b/gnustep-base/gnustep-make/files/digest-gnustep-make-2.0.2 @@ -0,0 +1,3 @@ +MD5 dabbb123a8eb865abc2a7ae8af4ebc5a gnustep-make-2.0.2.tar.gz 449260 +RMD160 bd5e3aefdaa98729a18954102500783e23c0a48a gnustep-make-2.0.2.tar.gz 449260 +SHA256 ce1763a36218134b62ea64c1e50289b33316c3ed41f087d65c95e303f0566cc7 gnustep-make-2.0.2.tar.gz 449260 diff --git a/gnustep-base/gnustep-make/gnustep-make-2.0.1.ebuild b/gnustep-base/gnustep-make/gnustep-make-2.0.1.ebuild index 8f17cb931b8b..988caf8fedb9 100644 --- a/gnustep-base/gnustep-make/gnustep-make-2.0.1.ebuild +++ b/gnustep-base/gnustep-make/gnustep-make-2.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.0.1.ebuild,v 1.10 2007/11/16 15:00:32 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.0.1.ebuild,v 1.11 2007/11/19 12:18:04 voyageur Exp $ inherit gnustep-base eutils @@ -32,8 +32,6 @@ src_unpack() { } src_compile() { - cd ${S} - local myconf myconf="--prefix=${GNUSTEP_PREFIX} --with-layout=gnustep" myconf="$myconf --with-config-file=/etc/GNUstep/GNUstep.conf" @@ -59,18 +57,18 @@ src_install() { use debug || make_eval="${make_eval} debug=no" make_eval="${make_eval} verbose=yes" - emake ${make_eval} DESTDIR=${D} install || die "install has failed" + 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} + "${D}"${GNUSTEP_SYSTEM_LIBRARY} fi exeinto /etc/profile.d - doexe ${FILESDIR}/gnustep-2.sh - doexe ${FILESDIR}/gnustep-2.csh + doexe "${FILESDIR}"/gnustep-2.sh + doexe "${FILESDIR}"/gnustep-2.csh dodir /etc/env.d cat <<- EOF > "${D}"/etc/env.d/99gnustep diff --git a/gnustep-base/gnustep-make/gnustep-make-2.0.2.ebuild b/gnustep-base/gnustep-make/gnustep-make-2.0.2.ebuild new file mode 100644 index 000000000000..768c07126df0 --- /dev/null +++ b/gnustep-base/gnustep-make/gnustep-make-2.0.2.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.0.2.ebuild,v 1.1 2007/11/19 12:18:04 voyageur Exp $ + +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="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +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}"/${PN}-2.0.1-destdir.patch +} + +src_compile() { + local myconf + myconf="--prefix=${GNUSTEP_PREFIX} --with-layout=gnustep" + myconf="$myconf --with-config-file=/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 + + dodir /etc/env.d + cat <<- EOF > "${D}"/etc/env.d/99gnustep +PATH=${GNUSTEP_SYSTEM_TOOLS}:${GNUSTEP_LOCAL_TOOLS} +ROOTPATH=${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 +} |