- all install
- touch $@
-
-$(IPKG_PCMCIA_UTILS):
- install -m0755 -d $(IDIR_PCMCIA_UTILS)/etc
- $(CP) $(PKG_INSTALL_DIR)/etc/pcmcia $(IDIR_PCMCIA_UTILS)/etc/
- install -m0755 -d $(IDIR_PCMCIA_UTILS)/usr/sbin
- $(CP) $(PKG_INSTALL_DIR)/sbin/cardctl $(IDIR_PCMCIA_UTILS)/usr/sbin/
- $(CP) $(PKG_INSTALL_DIR)/sbin/cardmgr $(IDIR_PCMCIA_UTILS)/usr/sbin/
- $(RSTRIP) $(IDIR_PCMCIA_UTILS)
- $(IPKG_BUILD) $(IDIR_PCMCIA_UTILS) $(PACKAGE_DIR)
+ all install \
+ )
+endef
+
+define Package/pcmcia-cs/install
+ $(INSTALL_DIR) $(1)/etc
+ $(CP) $(PKG_INSTALL_DIR)/etc/pcmcia $(1)/etc/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(CP) $(PKG_INSTALL_DIR)/sbin/cardctl $(1)/usr/sbin/
+ $(CP) $(PKG_INSTALL_DIR)/sbin/cardmgr $(1)/usr/sbin/
+endef