Attached to Gentoo Bug#133629:

-- shell-script --

Copyright 2006 Joshua Sled

Distributed under the terms of the GNU General Public License v2

inherit eutils java-pkg

MY_PV=${PV}final

DESCRIPTION="SQL client" HOMEPAGE="http://squirrel-sql.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}-src.zip"

@fixme: log4j, commons-cli, nano-xml

DEPEND=">=virtual/jdk-1.4 dev-java/ant-core" LICENSE="LGPL-2" SLOT="0" KEYWORDS="x86" IUSE=""

S="${WORKDIR}/sql12"

src_unpack() { unpack ${A} cd ${S} }

src_compile() { cd ${S}/build ant jar_source compile_plugins }

src_install() { dodir /opt/${P} dodir /opt/${P}/doc

cp -R ${WORKDIR}/squirrel-sql-dist/squirrel-sql/core/dist/* ${D}/opt/${P}/ cp ${D}/opt/${P}/squirrel-sql.sh ${T} echo ${T} sed -e "s#%INSTALL_PATH#/opt/${P}#" < ${T}/squirrel-sql.sh > ${D}/opt/${P}/squirrel-sql.sh make_desktop_entry squirrel-sql.sh "SQuirreL SQL ${PV}" /opt/${P}/icons/acorn.png "Utility" /opt/${P}/ }


Published

Category

Posts

Tags

Contact