convert chillispot to new packaging style
[openwrt.git] / openwrt / package / gmp / Makefile
index eb835c2..f32d988 100644 (file)
@@ -47,10 +47,13 @@ $(PKG_BUILD_DIR)/.libs/libgmp.so: $(PKG_BUILD_DIR)/.configured
 
 $(PKG_IPK): $(PKG_BUILD_DIR)/.libs/libgmp.so
        $(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_IPK_DIR) $(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
+       $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(STAGING_DIR)" install
        $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_IPK_DIR)" install
        rm $(PKG_IPK_DIR)/usr/lib/*.la
        rm $(PKG_IPK_DIR)/usr/lib/*.a
        $(STRIP) $(PKG_IPK_DIR)/usr/lib/*.so
+       rm -rf $(PKG_IPK_DIR)/usr/info
+       rm -rf $(PKG_IPK_DIR)/usr/include
        mkdir -p $(PACKAGE_DIR)
        $(IPKG_BUILD) $(PKG_IPK_DIR) $(PACKAGE_DIR)
 
This page took 0.039246 seconds and 4 git commands to generate.