Cleanup libvorbis, install in STAGING_DIR, courtesy Conrad Parker

This commit is contained in:
Ulf Samuelsson 2008-07-03 08:14:54 +00:00
parent 5800bd037d
commit 558f0a3073

View File

@ -40,12 +40,15 @@ $(LIBVORBIS_DIR)/.configured: $(LIBVORBIS_DIR)/.source
touch $@ touch $@
$(LIBVORBIS_DIR)/.libs: $(LIBVORBIS_DIR)/.configured $(LIBVORBIS_DIR)/.libs: $(LIBVORBIS_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(LIBVORBIS_DIR) $(MAKE) -C $(@D)
touch $@ touch $@
$(TARGET_DIR)/usr/lib/libvorbis.so: $(LIBVORBIS_DIR)/.libs $(STAGING_DIR)/usr/lib/libvorbis.so: $(LIBVORBIS_DIR)/.libs
$(MAKE) prefix=$(TARGET_DIR)/usr -C $(LIBVORBIS_DIR) install $(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBVORBIS_DIR) install
touch $@
$(TARGET_DIR)/usr/lib/libvorbis.so: $(STAGING_DIR)/usr/lib/libvorbis.so
$(INSTALL) -D $(STAGING_DIR)/usr/lib/libvorbis*.so* $(TARGET_DIR)/usr/lib
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libvorbis*.so*
libvorbis: uclibc pkgconfig libogg $(TARGET_DIR)/usr/lib/libvorbis.so libvorbis: uclibc pkgconfig libogg $(TARGET_DIR)/usr/lib/libvorbis.so