2006-11-21 22:03:23 +11:00
|
|
|
# Description: Fake time preload library, report faked system time to programs without having to change the system-wide time.
|
|
|
|
# URL: http://www.code-wizards.com/projects/libfaketime/index.html
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
|
|
# Packager: Danny Rawlins, monster dot romster at gmail dot com
|
2006-11-21 22:03:23 +11:00
|
|
|
|
|
|
|
name=libfaketime
|
2012-02-07 19:32:05 +11:00
|
|
|
version=0.9.1
|
2006-11-21 22:03:23 +11:00
|
|
|
release=1
|
2007-04-01 18:02:16 +10:00
|
|
|
source=(http://www.code-wizards.com/projects/libfaketime/libfaketime-$version.tar.gz)
|
2006-11-21 22:03:23 +11:00
|
|
|
|
|
|
|
build() {
|
2007-04-01 18:02:16 +10:00
|
|
|
cd libfaketime-$version
|
2006-11-21 22:03:23 +11:00
|
|
|
|
2011-10-12 23:45:43 +11:00
|
|
|
sed -i -e 's|/share/man/|/man/|g' man/Makefile
|
|
|
|
sed -i -e 's|/lib/faketime/|/lib/|g' src/Makefile
|
|
|
|
|
|
|
|
make PREFIX=/usr
|
|
|
|
make PREFIX=/usr DESTDIR=$PKG install
|
|
|
|
|
|
|
|
ln -sf libfaketime.so.1 $PKG/usr/lib/libfaketime.so
|
|
|
|
ln -sf libfaketimeMT.so.1 $PKG/usr/lib/libfaketimeMT.so
|
|
|
|
}
|