forked from ports/contrib
23 lines
823 B
Plaintext
23 lines
823 B
Plaintext
# 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
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Depends on:
|
|
|
|
name=libfaketime
|
|
version=0.8
|
|
release=1
|
|
source=(http://www.code-wizards.com/projects/libfaketime/libfaketime-$version.tar.gz)
|
|
|
|
build() {
|
|
cd libfaketime-$version
|
|
make
|
|
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
|
|
ln -s libfaketime.so.1 $PKG/usr/lib/libfaketime.so
|
|
ln -s libfaketimeMT.so.1 $PKG/usr/lib/libfaketimeMT.so
|
|
}
|
|
|