summaryrefslogtreecommitdiff
blob: ea95d3ed1e43cb96d1f60d9f2b1193a1498b65ff (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-2008 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
}