summaryrefslogtreecommitdiffstats
path: root/base/fcron
diff options
context:
space:
mode:
Diffstat (limited to 'base/fcron')
-rw-r--r--base/fcron/Pkgfile30
1 files changed, 16 insertions, 14 deletions
diff --git a/base/fcron/Pkgfile b/base/fcron/Pkgfile
index eb93f51bd..8ee2f5f18 100644
--- a/base/fcron/Pkgfile
+++ b/base/fcron/Pkgfile
@@ -14,19 +14,21 @@ build() {
source /etc/blfs-bootscripts
wget \
http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
-tar xvf $scripts-$scriptsversion.tar.bz2
-cd $name-$version
-./configure --prefix=/usr\
- --sysconfdir=/etc \
- --without-sendmail\
- --localstatedir=/var \
- --with-boot-install=no\
- --mandir=/usr/share/man\
- --infodir=/usr/share/info
-make
-make DESTDIR=$PKG install
+ tar xvf $scripts-$scriptsversion.tar.bz2
+ # build package
+ cd $name-$version
+ ./configure --prefix=/usr\
+ --sysconfdir=/etc \
+ --without-sendmail\
+ --localstatedir=/var \
+ --with-boot-install=no\
+ --mandir=/usr/share/man\
+ --infodir=/usr/share/info
+ make
+ make DESTDIR=$PKG install
# Install the script
-cd ../$scripts-$scriptsversion
-make DESTDIR=$PKG install-fcron
-rm -rf $PKG/usr/share/doc
+ cd ../$scripts-$scriptsversion
+ make DESTDIR=$PKG install-fcron
+ rm -rf $PKG/usr/share/doc
+# install -m755 ../fcron $PKG/etc/rc.d/init.d/
}