]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
smartmontools: Fix layout of makefile.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 25 Feb 2010 21:13:58 +0000 (22:13 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 25 Feb 2010 21:13:58 +0000 (22:13 +0100)
pkgs/core/smartmontools/smartmontools.nm

index e85103b65c38a1408e3754d15b39021df368c1a1..91b8a4fc7bb03f150fb4ff9f7a2118bac9e81599 100644 (file)
@@ -45,18 +45,10 @@ endef
 
 PKG_TARBALL    = $(THISAPP).tar.gz
 
-###############################################################################
-# Installation Details
-###############################################################################
-
-define STAGE_BUILD
-       cd $(DIR_APP) && \
-               ./configure \
-                       --prefix=/usr \
-                       --disable-static \
-                       --mandir=/usr/share/man \
-                       --sysconfdir=/etc \
-                       --with-initscriptdir=$(DIR_APP)/tmp
+CONFIGURE_OPTIONS += \
+       --mandir=/usr/share/man \
+       --sysconfdir=/etc
 
-       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
+define STAGE_INSTALL_CMDS
+       rm -rvf $(BUILDROOT)/etc/rc.d
 endef