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
|
|
|
# Depends on:
|
|
|
|
|
|
|
|
name=libfaketime
|
2008-08-27 02:54:58 +10:00
|
|
|
version=0.8
|
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
|
|
|
make
|
2008-08-27 02:54:58 +10:00
|
|
|
install -d $PKG/usr/lib
|
|
|
|
install -m 0755 -D timetest $PKG/usr/bin/timetest
|
|
|
|
install -m 0644 -D faketime.1 $PKG/usr/man/man1/faketime.1
|
|
|
|
install -m 0755 -t $PKG/usr/lib/ libfaketime.so.1 libfaketimeMT.so.1
|
2007-11-17 12:31:45 +11:00
|
|
|
ln -s libfaketime.so.1 $PKG/usr/lib/libfaketime.so
|
2008-08-27 02:54:58 +10:00
|
|
|
ln -s libfaketimeMT.so.1 $PKG/usr/lib/libfaketimeMT.so
|
2006-11-21 22:03:23 +11:00
|
|
|
}
|
|
|
|
|