-$(PKG_IPK): $(PKG_IPK_DIR)/usr/sbin/cupsd
- $(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_IPK_DIR) $(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
- rm -f $(PKG_IPK_DIR)/usr/bin/cups-config
- rm -f $(PKG_IPK_DIR)/usr/lib/*.a
- rm -f $(PKG_IPK_DIR)/usr/share/doc/cups/* || true
- rm -rf $(PKG_IPK_DIR)/usr/share/doc/cups/??
- rm -rf $(PKG_IPK_DIR)/usr/share/locale
- rm -rf $(PKG_IPK_DIR)/usr/share/cups/banners
- rm -rf $(PKG_IPK_DIR)/usr/share/cups/charsets
- rm -rf $(PKG_IPK_DIR)/usr/share/cups/fonts
- rm -rf $(PKG_IPK_DIR)/usr/share/cups/model
- rm -rf $(PKG_IPK_DIR)/usr/share/cups/data
- rm -rf $(PKG_IPK_DIR)/usr/share/cups/templates/??
- rm -rf $(PKG_IPK_DIR)/usr/include
- rm -rf $(PKG_IPK_DIR)/var
- rm -rf $(PKG_IPK_DIR)/etc/*.d
- $(STRIP) $(PKG_IPK_DIR)/usr/bin/*
- $(STRIP) $(PKG_IPK_DIR)/usr/lib/cups/backend/*
- $(STRIP) $(PKG_IPK_DIR)/usr/lib/cups/cgi-bin/*
- $(STRIP) $(PKG_IPK_DIR)/usr/lib/cups/daemon/*
- cp -a ./files/* $(PKG_IPK_DIR)/
- find $(PKG_IPK_DIR) -name CVS | xargs rm -rf
- $(IPKG_BUILD) $(PKG_IPK_DIR) $(PACKAGE_DIR)