# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit versionator eutils #version magic thanks to masterdriverz and UberLord using bash array instead of tr trarr="0abcdefghi" MY_PV="$(get_version_component_range 1)${trarr:$(get_version_component_range 2):1}$(get_version_component_range 3)" MY_P=${PN}${MY_PV} S=${WORKDIR}/${PN} DESCRIPTION="library providing functions for Scheme implementations" SRC_URI="http://swiss.csail.mit.edu/ftpdir/scm/${MY_P}.zip" HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SLIB" SLOT="0" LICENSE="public-domain BSD" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc -x86" IUSE="" #for unpacking DEPEND="app-arch/unzip" RDEPEND="" # RESTRICT="test" # maybe also do "make infoz" src_install() { insinto /usr/lib/slib/ doins *.scm doins *.init dodoc ANNOUNCE ChangeLog FAQ README doinfo slib.info }