sys-fs/tux3progs: update makefile add bin and tesbin target
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1226 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
@@ -13,7 +13,7 @@ EHG_REPO_URI="http://hg.tux3.org/tux3/"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="sys-fs/fuse"
|
||||
DEPEND=""
|
||||
@@ -26,9 +26,15 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" UCLFAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "build failed"
|
||||
emake CC="$(tc-getCC)" UCLFAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" bin || die "build failed"
|
||||
if use test; then
|
||||
emake CC="$(tc-getCC)" UCLFAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" testbin || die "build failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DISTDIR="${D}" SBINDIR="/usr/sbin" LIBEXECDIR="/usr/libexec/tux3" install || die "install failed"
|
||||
emake DISTDIR="${D}" PREFIX="/usr" install-bin || die "install failed"
|
||||
if use test; then
|
||||
use test && emake DISTDIR="${D}" PREFIX="/usr" install-test || die "install failed"
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user