/[gentoo-x86]/sys-auth/libyubikey/libyubikey-1.6.ebuild
Gentoo

Diff of /sys-auth/libyubikey/libyubikey-1.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-auth/libyubikey/Attic/libyubikey-1.6.ebuild,v 1.1 2010/10/23 16:38:54 flameeyes Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-auth/libyubikey/Attic/libyubikey-1.6.ebuild,v 1.2 2012/06/24 10:07:41 ssuominen Exp $
4 4
5EAPI=2 5EAPI=4
6inherit eutils autotools 6inherit autotools eutils
7 7
8DESCRIPTION="Yubico C low-level library" 8DESCRIPTION="Yubico C low-level library"
9HOMEPAGE="http://code.google.com/p/yubico-c/"
9SRC_URI="http://yubico-c.googlecode.com/files/${P}.tar.gz" 10SRC_URI="http://yubico-c.googlecode.com/files/${P}.tar.gz"
10HOMEPAGE="http://code.google.com/p/yubico-c/"
11 11
12KEYWORDS="~amd64" 12KEYWORDS="~amd64"
13SLOT="0" 13SLOT="0"
14LICENSE="BSD-2" 14LICENSE="BSD-2"
15IUSE="" 15IUSE="static-libs"
16 16
17src_prepare() { 17src_prepare() {
18 epatch "${FILESDIR}"/${P}-rpath.patch 18 epatch "${FILESDIR}"/${P}-rpath.patch
19 sed -i -e '/AM_INIT_AUTOMAKE/s: -Werror::' configure.ac || die #423255
19 eautoreconf 20 eautoreconf
20} 21}
21 22
23src_configure() {
24 econf $(use_enable static-libs static)
25}
26
22src_install() { 27src_install() {
23 emake DESTDIR="${D}" install || die 28 emake DESTDIR="${D}" install
24 dodoc AUTHORS ChangeLog NEWS README THANKS || die 29 dodoc AUTHORS ChangeLog NEWS README THANKS
25 find "${D}" -name '*.la' -delete || die 30 prune_libtool_files
26} 31}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20