]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/pcmciautils
update disclaimer in LFS files
[ipfire-2.x.git] / lfs / pcmciautils
index 67ad5601fb8be7b273e49e01fe6a334f0ba7f18b..1074969f4867b2199de7667fb33f84a2191c3d0f 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -30,13 +30,7 @@ THISAPP    = pcmciautils-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
-
-ifeq "$(LFS_PASS)" "install"
-    TARGET     = $(DIR_INFO)/$(THISAPP)-install
-else
-    TARGET     = $(DIR_INFO)/$(THISAPP)
-endif
-
+TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = pcmciautils
 PAK_VER    = 1
 DEPS       = ""
@@ -82,21 +76,8 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
-
-ifeq "$(LFS_PASS)" "install"
-       ln -f -s ../../../../../include/sysfs /opt/$(MACHINE)-uClibc/lib/gcc/$(MACHINE)-linux-uclibc/4.0.4/include/sysfs
-       cd $(DIR_APP) && make
-       cd $(DIR_APP) && install -m 755 pccardctl /install/initrd/sbin/
-       ln -f -s pccardctl /install/initrd/sbin/lspcmcia
-       cd $(DIR_APP) && install -m 755 pcmcia-check-broken-cis /install/initrd/sbin/
-       cd $(DIR_APP) && install -m 755 pcmcia-socket-startup /install/initrd/sbin/
-       cp -f /etc/udev/rules.d/60-pcmcia.rules /install/initrd/etc/udev/rules.d/60-pcmcia.rules
-       mkdir -p /install/initrd/etc/pcmcia
-       cp -f /etc/pcmcia/config.opts /install/initrd/etc/pcmcia/config.opts
-else
        cd $(DIR_APP) && make
        cd $(DIR_APP) && make install
        @sed -i -e 's/ MODALIAS=="?[*]",//g' /etc/udev/rules.d/60-pcmcia.rules
-endif
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)