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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Mar 3 20:39:50 2009 UTC (5 years, 8 months ago) by vapier
Branch: MAIN
Changes since 1.1: +4 -3 lines
Force usage of gentoo dmapi tarball #261019.
(Portage version: 2.2_rc23/cvs/Linux x86_64)

1 # Copyright 1999-2009 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.1 2009/02/22 18:46:22 vapier 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="mirror://gentoo/${P}.tar.gz" #261019
10 #ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz
11 # ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/${P}.tar.gz"
12
13 LICENSE="LGPL-2.1"
14 SLOT="0"
15 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
16 IUSE=""
17
18 RDEPEND="sys-fs/xfsprogs"
19 DEPEND="${RDEPEND}"
20
21 src_unpack() {
22 unpack ${A}
23 cd "${S}"
24 sed -i \
25 -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
26 include/builddefs.in \
27 || die "failed to update builddefs"
28 }
29
30 src_compile() {
31 export OPTIMIZER=${CFLAGS}
32 export DEBUG=-DNDEBUG
33
34 econf --libexecdir=/usr/$(get_libdir) || die
35 emake || die
36 }
37
38 src_install() {
39 emake DIST_ROOT="${D}" install install-dev || die
40 gen_usr_ldscript -a dm
41 prepalldocs
42 }

  ViewVC Help
Powered by ViewVC 1.1.20