squirrel sql 2.0 gentoo ebuild
The following is a ghetto ebuild for the very nifty Squirrel SQL 2.0. It’s especially ghetto in that – ignoring The Gentoo Way – it doesn’t even attempt to re-build from sources. It also probably doesn’t do things in the right way. But it works… use /opt/squirrel-sql/squirrel-sql.sh to run.
-- shell-script --
Copyright 2005 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/” SRCURI=”mirror://sourceforge/${PN}/${PN}-${MYPV}-standard.tar.gz” DEPEND=”>=virtual/jdk-1.4″ LICENSE=”LGPL-2″ SLOT=”0″ KEYWORDS=”x86″ IUSE=”"
S=”${WORKDIR}/SQuirreL SQL Client”
src_unpack() { unpack ${A} cd “${S}” }
src_compile() { echo “no compilation” }
src_install() { dodir /opt/${PN} cp -r “${S}”/* ${D}opt/${PN} }