forked from ports/contrib
preload: 0.6 -> 0.6.1
This commit is contained in:
parent
a5fb6e9e9d
commit
a57ef878a7
@ -1,2 +1,2 @@
|
||||
2aac518aceea4dbd33d74f52b1a98fca preload-0.6.tar.gz
|
||||
c6b02f3f3bb669ddcf757cdb8b1e0942 preload-0.6.1.tar.gz
|
||||
5a48082b3625645cbcd39f8e731f0aa6 rc.preload
|
||||
|
@ -5,7 +5,7 @@
|
||||
# Depends on: glib help2man
|
||||
|
||||
name=preload
|
||||
version=0.6
|
||||
version=0.6.1
|
||||
release=1
|
||||
source=(http://dl.sourceforge.net/sourceforge/preload/preload-$version.tar.gz
|
||||
rc.preload)
|
||||
@ -16,7 +16,7 @@ build() {
|
||||
# preload(8) is generated by help2man if available, otherwise
|
||||
# it only contains "help2man is required to generate this file."
|
||||
##rm -rv usr/man
|
||||
if [ -z "$(pkginfo -i |grep 'help2man ')" ]; then
|
||||
if [ -z "$(pkginfo -i |grep '^help2man ')" ]; then
|
||||
echo 'Install help2man.'
|
||||
exit 1
|
||||
fi
|
||||
@ -27,7 +27,7 @@ build() {
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var
|
||||
|
||||
make -j1
|
||||
make -j 1
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
cd $PKG
|
||||
@ -37,9 +37,9 @@ build() {
|
||||
|
||||
# preload.state is installed 644 but changed to 640 on first run,
|
||||
# so we change the mode in the package to avoid rejmerge.
|
||||
chmod -v 640 var/lib/preload/preload.state
|
||||
chmod 0640 var/lib/preload/preload.state
|
||||
|
||||
# install services rc script
|
||||
install -D -m755 $SRC/rc.preload $PKG/etc/rc.d/preload
|
||||
install -m 0755 -D $SRC/rc.preload $PKG/etc/rc.d/preload
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user