Files
@ 9ec4d3273b38
Branch filter:
Location: ohnobinki_overlay/media-libs/lib3ds/lib3ds-2.0.0_pre20080909.ebuild - annotation
9ec4d3273b38
962 B
application/vnd.gentoo.ebuild
Add a sample eselect news item to my overlay to see if it actually works in overlays.
1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 1e82ba3600b2 | # Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/lib3ds/lib3ds-1.3.0.ebuild,v 1.1 2008/01/04 19:50:54 nyhm Exp $
inherit versionator
DESCRIPTION="library for managing 3D-Studio Release 3 and 4 .3DS files"
HOMEPAGE="http://www.lib3ds.org/"
MY_PV="${PV}"
if [[ "$(get_version_component_range 1-3)" != "${PV}" ]]; then
#then we have of the form *.*.*_prexxxxxxxx and have to download ${PN}-xxxxxxxx
MY_PV="$(get_version_component_range 4- )"
#remove the pre prefix
MY_PV="${MY_PV/pre/}"
fi
MY_P="${PN}-${MY_PV}"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
IUSE=""
RDEPEND="virtual/glut
virtual/opengl"
DEPEND="${RDEPEND}
app-arch/unzip"
S="${WORKDIR}/${MY_P}"
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog README NEWS
}
|