]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/modutils
OpenSwan RC nach den Vorgaben von "affect" installiert.
[people/teissler/ipfire-2.x.git] / lfs / modutils
index 87eb280a7c71a33f718bc1ec6473b3ca5597f7b6..91b7c0e472698312db580054cfe3fd9ab91060fe 100644 (file)
@@ -72,9 +72,15 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+ifeq "$(PASS)" "install"
+       cd $(DIR_APP) && ./configure --prefix=/ --enable-zlib
+       cd $(DIR_APP) && make
+       cd $(DIR_APP) && install -m 0755 insmod.static /sbin/insmod.static
+else
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/module-init-tools-3.2.2-modprobe-1.patch
        cd $(DIR_APP) && ./configure --prefix=/ --disable-nls --enable-zlib
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make INSTALL=install install
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
+endif