/[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.3 - (hide annotations) (download)
Sun Aug 10 20:37:09 2014 UTC (4 years, 3 months ago) by slyfox
Branch: MAIN
Changes since 1.2: +3 -3 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 slyfox 1.3 # Copyright 1999-2014 Gentoo Foundation
2 patrick 1.1 # Distributed under the terms of the GNU General Public License v2
3 slyfox 1.3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libowfat/libowfat-0.28.ebuild,v 1.2 2011/11/20 09:17:02 xarthisius Exp $
4 patrick 1.1
5 slyfox 1.3 DESCRIPTION="reimplement libdjb - excellent libraries from Dan Bernstein"
6 patrick 1.1 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 xarthisius 1.2 KEYWORDS="~amd64 ~sparc ~x86"
12 patrick 1.1 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