blob: b40706df3cc97acce56abfad6d00f470c80ee249 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/mtree/mtree-2007.4.ebuild,v 1.1 2008/01/26 21:57:45 vapier Exp $
inherit flag-o-matic
MY_PV=${PV/./Q}
DESCRIPTION="check the permissions of a file system against a spec file"
HOMEPAGE="http://www.netbsd.org/"
SRC_URI="ftp://ftp.netbsd.org/pub/pkgsrc/pkgsrc-${MY_PV}/pkgsrc-${MY_PV}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~s390 ~x86"
IUSE=""
S=${WORKDIR}/pkgsrc/pkgtools
src_compile() {
cd "${S}"/libnbcompat/files
econf || die "econf libnbcompat failed"
emake || die "emake libnbcompat failed"
cd "${S}"/mtree/files
append-cppflags -I../../libnbcompat/files
LIBS=../../libnbcompat/files/libnbcompat.a \
econf || die "econf mtree failed"
emake || die "emake mtree failed"
}
src_install() {
cd mtree/files
dosbin mtree || die
doman mtree.8
}
|