/[gentoo-x86]/sys-apps/dmapi/dmapi-2.2.10.ebuild
Gentoo

Contents of /sys-apps/dmapi/dmapi-2.2.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sun Dec 2 10:50:26 2012 UTC (19 months, 1 week ago) by maekke
Branch: MAIN
Changes since 1.7: +3 -3 lines
add ~arm, bug #444688

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 072AD062)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/dmapi/dmapi-2.2.10.ebuild,v 1.7 2010/05/21 21:00:35 pacho Exp $
4
5 inherit toolchain-funcs
6
7 DESCRIPTION="XFS data management API library"
8 HOMEPAGE="http://oss.sgi.com/projects/xfs/"
9 SRC_URI="ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz
10 ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/${P}.tar.gz"
11
12 LICENSE="LGPL-2.1"
13 SLOT="0"
14 KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86"
15 IUSE=""
16
17 RDEPEND="sys-fs/xfsprogs"
18 DEPEND="${RDEPEND}"
19
20 src_unpack() {
21 unpack ${A}
22 cd "${S}"
23 sed -i \
24 -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
25 include/builddefs.in \
26 || die "failed to update builddefs"
27 }
28
29 src_compile() {
30 export OPTIMIZER=${CFLAGS}
31 export DEBUG=-DNDEBUG
32
33 econf --libexecdir=/usr/$(get_libdir) || die
34 emake || die
35 }
36
37 src_install() {
38 emake DIST_ROOT="${D}" install install-dev || die
39 gen_usr_ldscript -a dm
40 prepalldocs
41 }

  ViewVC Help
Powered by ViewVC 1.1.20