summaryrefslogtreecommitdiff
blob: 04ce8bf7dc3e1f76f0cedbcb61d1d78fbafe948f (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-2009 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
}