[packages] libs/fftw3: install headers and libraries into staging_dir
authorAndy Boyett <agb@openwrt.org>
Tue, 6 Jan 2009 05:32:19 +0000 (05:32 +0000)
committerAndy Boyett <agb@openwrt.org>
Tue, 6 Jan 2009 05:32:19 +0000 (05:32 +0000)
SVN-Revision: 13879

libs/fftw3/Makefile

index ff58a30..734f8a7 100644 (file)
@@ -54,6 +54,13 @@ define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
 endef
 
+define Build/InstallDev
+       mkdir -p $(1)/usr/include
+       $(CP) $(PKG_INSTALL_DIR)/usr/include/fftw3.h $(1)/usr/include
+       mkdir -p $(1)/usr/lib
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfftw3*.{a,so,la} $(1)/usr/lib
+endef
+
 define Package/fftw3/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfftw3.so* $(1)/usr/lib/