diff options
Diffstat (limited to 'app-admin/gentool/gentool-0.1.3.ebuild')
-rw-r--r-- | app-admin/gentool/gentool-0.1.3.ebuild | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/app-admin/gentool/gentool-0.1.3.ebuild b/app-admin/gentool/gentool-0.1.3.ebuild deleted file mode 100644 index 560ed64..0000000 --- a/app-admin/gentool/gentool-0.1.3.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -EAPI=2 -inherit eutils -DESCRIPTION="gentoo system management" -HOMEPAGE="" -SRC_URI="" -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="x86 amd64" -IUSE="" - -#DEPEND=">=app-misc/bashfun-0.1.2 -# layman" -RDEPEND="net-misc/rsync - sys-boot/grub" - -src_install() { - #config protect? - dodir '/opt/gem' || die "out of cheese error 1" - #insinto '/opt/gem' || die "out of cheese error 2" - - ls -avlh ${FILESDIR}'/'${PVR}'/opt/gem/' - cp -ar ${FILESDIR}'/'${PVR}'/opt/gem/'* ${D}'/opt/gem/' || die "out of cheese error 3" - dodir '/etc/gem' || die "out of cheese error 4" - insinto '/etc/gem' || die "out of cheese error 5" - doins ${FILESDIR}'/'${PVR}'/etc/gem/config.sh' || die "out of cheese error 6" - doenvd ${FILESDIR}'/'${PVR}'/etc/env.d/99gem-env' || die "out of cheese error 7" -} - -pkg_postinst() { - if [ ! -f /opt/bin/gem ] - then - cd /opt/bin - ln -s /opt/gem/bin/gem.sh gem - fi - - path_minus_opt_bin=`echo $PATH | sed 's~/opt/bin:~~g'` - if [ $PATH = $path_minus_opt_bin ] - then - ewarn - ewarn 'OMG! /opt/bin is not in your $PATH!' - ewarn '(gem is installed at /opt/bin/gem)' - ewarn - fi - ewarn - ewarn 'you may want to edit /etc/gem/config.sh now - just follow instructions in the file' - ewarn -} |