summaryrefslogtreecommitdiff
path: root/package/speex
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-08-17 13:20:31 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-08-17 13:20:31 +0000
commit28b2a5bd7e504d458e72788cecaa6e57ba89d4de (patch)
tree3a01488fc87310778ad922ac0a42708f9f316b82 /package/speex
parent52abf53f322965fe57a6061b208bce2f1a7bb753 (diff)
speex: fix target install
Use install-strip and clean up documentation files instead of install-exec so files get stripped and manpages installed if requested.
Diffstat (limited to 'package/speex')
-rw-r--r--package/speex/speex.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/speex/speex.mk b/package/speex/speex.mk
index a28236b54..4aabe8bc6 100644
--- a/package/speex/speex.mk
+++ b/package/speex/speex.mk
@@ -9,6 +9,7 @@ SPEEX_SITE=http://downloads.us.xiph.org/releases/speex
SPEEX_AUTORECONF = NO
SPEEX_INSTALL_STAGING = YES
SPEEX_INSTALL_TARGET = YES
+SPEEX_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) install-strip
SPEEX_DEPENDENCIES = libogg
SPEEX_CONF_OPT = --with-ogg-libraries=$(STAGING_DIR)/usr/lib --with-ogg-includes=$(STAGING_DIR)/usr/include \
--disable-static --enable-fixed-point $(DISABLE_NLS)
@@ -25,3 +26,7 @@ $(SPEEX_TARGET_BUILD): $(SPEEX_TARGET_CONFIGURE)
$(SED) 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' $(SPEEX_DIR)/libtool
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_MAKE_OPT) -C $(@D)/$($(PKG)_SUBDIR)
$(Q)touch $@
+
+$(SPEEX_HOOK_POST_INSTALL): $(SPEEX_TARGET_INSTALL_TARGET)
+ rm -rf $(TARGET_DIR)/usr/share/doc/speex $(TARGET_DIR)/usr/share/aclocal
+ touch $@