/[gentoo-x86]/dev-libs/ucl/ucl-1.03-r1.ebuild
Gentoo

Contents of /dev-libs/ucl/ucl-1.03-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Tue Sep 11 07:30:25 2012 UTC (2 years, 2 months ago) by vapier
Branch: MAIN
Changes since 1.8: +8 -5 lines
Port to the x32 ABI for fun #426334 by devsk.  Add USE=static-libs support.

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/ucl/ucl-1.03-r1.ebuild,v 1.8 2012/03/18 18:42:54 armin76 Exp $
4
5 EAPI=4
6
7 inherit autotools eutils
8
9 DESCRIPTION="the UCL Compression Library"
10 HOMEPAGE="http://www.oberhumer.com/opensource/ucl/"
11 SRC_URI="http://www.oberhumer.com/opensource/ucl/download/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
16 IUSE="static-libs"
17
18 src_prepare() {
19 epatch "${FILESDIR}"/${P}-CFLAGS.patch
20 epatch "${FILESDIR}"/${P}-x32.patch #426334
21
22 # lzo (and ucl) have some weird sort of mfx_* set of autoconf macros
23 # which may only be distributed with lzo itself? Rescue them and
24 # place them into acinclude.m4 because there doesn't seem to be an
25 # m4/...
26 sed -n -e '/^AC_DEFUN.*mfx_/,/^])#$/p' aclocal.m4 > acinclude.m4 || die "Unable to rescue mfx_* autoconf macros."
27 eautoreconf
28 }
29
30 src_configure() {
31 econf \
32 --enable-shared \
33 $(use_enable static-libs static)
34 }
35
36 src_install() {
37 default
38 prune_libtool_files
39 }

  ViewVC Help
Powered by ViewVC 1.1.20