blob: 11e505cbed2a472df20e29e85a46fc125b40a414 (
plain)
1 # Description: Fake time preload library, report faked system time to programs without having to change the system-wide time.
2 # URL: http://www.code-wizards.com/projects/libfaketime/index.html
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Packager: Danny Rawlins, crux at romster dot me
5
6 name=libfaketime
7 version=0.9.1
8 release=1
9 source=(http://www.code-wizards.com/projects/libfaketime/libfaketime-$version.tar.gz)
10
11 build() {
12 cd libfaketime-$version
13
14 sed -i -e 's|/share/man/|/man/|g' man/Makefile
15 sed -i -e 's|/lib/faketime/|/lib/|g' src/Makefile
16
17 make PREFIX=/usr
18 make PREFIX=/usr DESTDIR=$PKG install
19
20 ln -sf libfaketime.so.1 $PKG/usr/lib/libfaketime.so
21 ln -sf libfaketimeMT.so.1 $PKG/usr/lib/libfaketimeMT.so
22 }
|