23 lines
730 B
Plaintext
23 lines
730 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, crux at romster dot me
|
|
# Packager: Danny Rawlins, crux at romster dot me
|
|
|
|
name=libfaketime
|
|
version=0.9.1
|
|
release=1
|
|
source=(http://www.code-wizards.com/projects/libfaketime/libfaketime-$version.tar.gz)
|
|
|
|
build() {
|
|
cd libfaketime-$version
|
|
|
|
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
|
|
}
|