You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/libdivsufsort/libdivsufsort-9999.ebuild

32 lines
763 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdivsufsort/libdivsufsort-9999.ebuild,v 1.1 2012/12/15 12:38:19 mgorny Exp $
EAPI=4
inherit cmake-utils multilib
#if LIVE
ESVN_REPO_URI="http://libdivsufsort.googlecode.com/svn/trunk/"
inherit subversion
#endif
DESCRIPTION="Suffix-sorting library (for BWT)"
HOMEPAGE="http://code.google.com/p/libdivsufsort/"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
#if LIVE
KEYWORDS=
SRC_URI=
#endif
src_prepare() {
# will appreciate saner approach, if there is any
sed -i -e "s:\(DESTINATION \)lib:\1$(get_libdir):" \
*/CMakeLists.txt || die
}