blob: 113155a0e14d76862ade99bdf2afa29cddee347a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtu-svn/libtu-svn-20040902.ebuild,v 1.2 2004/09/05 10:58:50 malc Exp $
inherit subversion
DESCRIPTION="A small utility library for programs written in C"
HOMEPAGE="http://modeemi.fi/~tuomov/ion/"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~ppc ~sparc x86 ~amd64"
IUSE=""
DEPEND="virtual/libc"
ESVN_REPO_URI="http://tao.uab.es/ion/svn/libtu/trunk"
ESVN_PROJECT="libtu-snapshot"
src_compile() {
sed -i ${S}/system.mk \
-e 's:^\(PREFIX=\)/usr/local/:\1/usr:' \
-e "s:^\(CFLAGS=\)-g -Os :\1${CFLAGS} :"
emake || die
}
src_install() {
dolib libtu.a
insinto /usr/include/libtu
doins *.h
dodoc README README.rb
}
|