Install cups-config to staging_dir/$target/host/bin.
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 4 Sep 2008 11:31:27 +0000 (11:31 +0000)
committerLars-Peter Clausen <lars@metafoo.de>
Thu, 4 Sep 2008 11:31:27 +0000 (11:31 +0000)
SVN-Revision: 12524

net/cups/Makefile

index d60331a..4279fdf 100644 (file)
@@ -99,11 +99,11 @@ define Package/cups/install
 endef
 
 define Build/InstallDev
-       mkdir -p $(1)/usr/bin
-       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/cups-config $(1)/usr/bin/
-       mkdir -p $(1)/usr/include
+       $(INSTALL_DIR) $(2)/bin
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/cups-config $(2)/bin/
+       $(INSTALL_DIR) $(1)/usr/include
        $(CP) $(PKG_INSTALL_DIR)/usr/include/cups $(1)/usr/include/
-       mkdir -p $(1)/usr/lib
+       $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcups.{a,so*} $(1)/usr/lib/
 endef