/[gentoo-x86]/dev-libs/libowfat/libowfat-0.28.ebuild
Gentoo

Contents of /dev-libs/libowfat/libowfat-0.28.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Nov 20 09:17:02 2011 UTC (2 years, 11 months ago) by xarthisius
Branch: MAIN
Changes since 1.1: +3 -3 lines
ppc/ppc64 keywords dropped wrt #364103

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

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libowfat/libowfat-0.28.ebuild,v 1.1 2009/03/01 15:16:52 patrick Exp $
4
5 DESCRIPTION="reimplement libdjb - excellent libraries from Dan Bernstein."
6 SRC_URI="http://dl.fefe.de/${P}.tar.bz2"
7 HOMEPAGE="http://www.fefe.de/libowfat/"
8
9 SLOT="0"
10 LICENSE="GPL-2"
11 KEYWORDS="~amd64 ~sparc ~x86"
12 IUSE=""
13 DEPEND=">=dev-libs/dietlibc-0.23
14 >=sys-apps/sed-4"
15
16 RDEPEND=">=dev-libs/dietlibc-0.23"
17
18 src_unpack() {
19 unpack ${A} ; cd "${S}"
20 sed -i -e "s:^CFLAGS.*:CFLAGS=-I. ${CFLAGS}:" \
21 -e "s:^DIET.*:DIET=/usr/bin/diet -Os:" \
22 -e "s:^prefix.*:prefix=/usr:" \
23 -e "s:^INCLUDEDIR.*:INCLUDEDIR=\${prefix}/include/libowfat:" \
24 GNUmakefile
25 }
26
27 src_compile() {
28 emake || die
29 }
30
31 src_install () {
32 make \
33 LIBDIR=${D}/usr/lib \
34 MAN3DIR=${D}/usr/share/man/man3 \
35 INCLUDEDIR=${D}/usr/include/libowfat \
36 install || die "make install failed"
37
38 cd "${D}"/usr/share/man
39 mv man3/buffer.3 man3/owfat-buffer.3
40 }

  ViewVC Help
Powered by ViewVC 1.1.20