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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Jan 6 18:26:24 2013 UTC (21 months, 2 weeks ago) by vapier
Branch: MAIN
Version bump #450584 by Agostino Sarubbo.

(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)

1 # Copyright 1999-2013 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.9.ebuild,v 1.2 2009/03/03 20:39:50 vapier Exp $
4
5 EAPI="4"
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="XFS data management API library"
10 HOMEPAGE="http://oss.sgi.com/projects/xfs/"
11 SRC_URI="ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz
12 ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/${P}.tar.gz"
13
14 LICENSE="LGPL-2.1"
15 SLOT="0"
16 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
17 IUSE="static-libs"
18
19 RDEPEND="sys-fs/xfsprogs"
20 DEPEND="${RDEPEND}"
21
22 src_prepare() {
23 sed -i \
24 -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
25 include/builddefs.in \
26 || die
27 }
28
29 src_configure() {
30 export OPTIMIZER=${CFLAGS}
31 export DEBUG=-DNDEBUG
32
33 econf \
34 --libexecdir=/usr/$(get_libdir) \
35 $(use_enable static-libs static)
36 }
37
38 src_install() {
39 emake DESTDIR="${D}" install install-dev
40 gen_usr_ldscript -a dm
41 find "${ED}"/usr '(' -name '*.la' -o -name COPYING ')' -delete
42 }

  ViewVC Help
Powered by ViewVC 1.1.20