summaryrefslogtreecommitdiff
blob: 871e939bfbb1f6b9109d5957ac0db1052a9bc197 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="FakeTime Preload Library"
HOMEPAGE="http://www.code-wizards.com/projects/libfaketime/"
SRC_URI="http://www.code-wizards.com/projects/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=""
RDEPEND=""

src_compile() {
	sed -i 's:${CC}:$(CC) $(CFLAGS):;
		s:\(soname,libfaketime\.so\)\.1:\1:' Makefile
	emake lib || die "make lib failed"
}

src_install() {
	dolib libfaketime.so.1
}