projects
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f720ab2
)
[packages] libs/fftw3: install headers and libraries into staging_dir
author
agb
<agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 6 Jan 2009 05:32:19 +0000
(
05:32
+0000)
committer
agb
<agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 6 Jan 2009 05:32:19 +0000
(
05:32
+0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13879
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
libs/fftw3/Makefile
patch
|
blob
|
history
diff --git
a/libs/fftw3/Makefile
b/libs/fftw3/Makefile
index
ff58a30
..
734f8a7
100644
(file)
--- a/
libs/fftw3/Makefile
+++ b/
libs/fftw3/Makefile
@@
-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/