- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/util-linux-2.12r-umount-no-special.patch
- cd $(DIR_APP) && sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
- hwclock/hwclock.c
- -mkdir -p /var/lib/hwclock
- cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-cramfs-1.patch
- cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/util-linux-buildfix.patch
- cd $(DIR_APP) && ./configure
- cd $(DIR_APP) && make $(MAKETUNING) HAVE_KILL=yes HAVE_SLN=yes
- cd $(DIR_APP) && make HAVE_KILL=yes HAVE_SLN=yes install
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && ./configure \
+ --docdir=/usr/share/doc/util-linux \
+ --disable-static \
+ --disable-nls \
+ --disable-static \
+ --enable-pg \
+ --without-python \
+ --without-systemd \
+ --without-systemdsystemunitdir
+ cd $(DIR_APP) && make $(MAKETUNING)
+ cd $(DIR_APP) && make install
+
+ # Install fstrim cronjob
+ mkdir -p /etc/fcron.daily
+ install -m 0755 $(DIR_SRC)/config/fstrim/trim /etc/fcron.daily/trim
+