From: Michael Tremer Date: Thu, 25 Feb 2010 21:13:58 +0000 (+0100) Subject: smartmontools: Fix layout of makefile. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84a43fb51c19b3a09c11b61937f8ec77fa40e033;p=ipfire-3.x.git smartmontools: Fix layout of makefile. --- diff --git a/pkgs/core/smartmontools/smartmontools.nm b/pkgs/core/smartmontools/smartmontools.nm index e85103b65..91b8a4fc7 100644 --- a/pkgs/core/smartmontools/smartmontools.nm +++ b/pkgs/core/smartmontools/smartmontools.nm @@ -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