forked from ports/contrib
libfaketime: 0.8 -> 0.8.1
This commit is contained in:
parent
e95e8ae1b0
commit
cd7c03aab3
@ -1,11 +1,11 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/timetest
|
||||
-rwxr-xr-x root/root usr/bin/faketime
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
lrwxrwxrwx root/root usr/lib/libfaketime.so -> libfaketime.so.1
|
||||
-rwxr-xr-x root/root usr/lib/libfaketime.so.1
|
||||
-rw-r--r-- root/root usr/lib/libfaketime.so.1
|
||||
lrwxrwxrwx root/root usr/lib/libfaketimeMT.so -> libfaketimeMT.so.1
|
||||
-rwxr-xr-x root/root usr/lib/libfaketimeMT.so.1
|
||||
-rw-r--r-- root/root usr/lib/libfaketimeMT.so.1
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/faketime.1.gz
|
||||
|
@ -1 +1 @@
|
||||
c83e12a80ca85486bc904905d325d01e libfaketime-0.8.tar.gz
|
||||
113d75d73e39f0f5022dc7385628d57c libfaketime-0.8.1.tar.gz
|
||||
|
@ -2,21 +2,24 @@
|
||||
# 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
|
||||
version=0.8.1
|
||||
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
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
rm -r $PKG/usr/share/doc
|
||||
rmdir $PKG/usr/share
|
||||
|
||||
ln -sf libfaketime.so.1 $PKG/usr/lib/libfaketime.so
|
||||
ln -sf libfaketimeMT.so.1 $PKG/usr/lib/libfaketimeMT.so
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user