Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 236117 Details for
Bug 262613
Ebuild request: dspace
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
www-apps/dspace/dspace-1.6.1.ebuild
dspace-1.6.1.ebuild (text/plain), 2.01 KB, created by
Dmitry S. Kulyabov
on 2010-06-21 06:39:35 UTC
(
hide
)
Description:
www-apps/dspace/dspace-1.6.1.ebuild
Filename:
MIME Type:
Creator:
Dmitry S. Kulyabov
Created:
2010-06-21 06:39:35 UTC
Size:
2.01 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="3" > >SLOT=0 > >inherit eutils > >MY_P=${P}-src-release > >DESCRIPTION="DSpace open source software enables open sharing of content that spans organizations, continents and time" >HOMEPAGE="http://www.dspace.org/" >SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" > >LICENSE="GPL-2" >KEYWORDS="x86 amd64" >IUSE="resin tomcat" > >DEPEND="dev-java/maven-bin > virtual/postgresql-server > dev-lang/perl > dev-java/ant > >=virtual/jdk-1.5 > tomcat? ( www-servers/tomcat ) > resin? ( www-servers/resin )" > >RDEPEND="${DEPEND}" > >S="${WORKDIR}/${MY_P}" > >DSPACE_DIR=/var/lib/dspace >DSPACE_SRC_DIR=/usr/share/dspace-source > >src_prepare() { > sed -i -e "s:^dspace.dir =.*$:dspace.dir = ${DSPACE_DIR}:g" \ > ${S}/dspace/config/dspace.cfg >} > >src_compile() { > mvn package >} > >src_install() { > dodir ${DSPACE_DIR} > cp -R ${S}/dspace/target/${P}-build.dir/* ${D}${DSPACE_DIR} > chmod +x ${D}${DSPACE_DIR}/bin/* > > dodir /etc > mv ${D}${DSPACE_DIR}/config ${D}/etc/dspace > dosym /etc/dspace ${DSPACE_DIR}/config > > dodir /etc/cron.d > sed -e "s:@DSPACE_DIR@:$DSPACE_DIR:g" ${FILESDIR}/dspace.crond.in > ${D}/etc/cron.d/dspace > sed -e "s:@DSPACE_DIR@:$DSPACE_DIR:g" ${FILESDIR}/dspace-stat.crond.in > ${D}/etc/cron.d/dspace-stat > > use tomcat && chown -R tomcat:tomcat ${D}${DSPACE_DIR} > use resin && chown -R resin:resin ${D}${DSPACE_DIR} > > use tomcat && (cd ${D}${DSPACE_DIR}/webapps/; for i in *; do dosym ${DSPACE_DIR}/webapps/${i} /var/lib/tomcat-6/webapps/; done ) > use resin && (cd ${D}${DSPACE_DIR}/webapps/; for i in *; do dosym ${DSPACE_DIR}/webapps/${i} /var/lib/resin/webapps/; done ) > > mv ${D}${DSPACE_DIR} ${D}${DSPACE_SRC_DIR} >} > >pkg_postinst() { > if [ -d "${DSPACE_DIR}" ] > then > cd ${DSPACE_SRC_DIR} > ant update > fi > > use tomcat && chown -R tomcat:tomcat ${DSPACE_DIR} > use resin && chown -R resin:resin ${DSPACE_DIR} >} > >pkg_config() { > createuser -U postgres -d -A -P dspace > createdb -U dspace -E UNICODE dspace > > cd ${DSPACE_SRC_DIR} > ant fresh_install >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 262613
: 236117 |
236119
|
236121
|
239393
|
305481