Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: ulf at uclibc.org <ulf@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/libvorbis
Date: Thu,  3 Jul 2008 01:14:54 -0700 (PDT)	[thread overview]
Message-ID: <20080703081454.A79343C651@busybox.net> (raw)

Author: ulf
Date: 2008-07-03 01:14:54 -0700 (Thu, 03 Jul 2008)
New Revision: 22616

Log:
Cleanup libvorbis, install in STAGING_DIR, courtesy Conrad Parker

Modified:
   trunk/buildroot/package/libvorbis/libvorbis.mk


Changeset:
Modified: trunk/buildroot/package/libvorbis/libvorbis.mk
===================================================================
--- trunk/buildroot/package/libvorbis/libvorbis.mk	2008-07-03 08:12:51 UTC (rev 22615)
+++ trunk/buildroot/package/libvorbis/libvorbis.mk	2008-07-03 08:14:54 UTC (rev 22616)
@@ -40,13 +40,16 @@
 	touch $@
 
 $(LIBVORBIS_DIR)/.libs: $(LIBVORBIS_DIR)/.configured
-	$(MAKE) CC=$(TARGET_CC) -C $(LIBVORBIS_DIR)
+	$(MAKE) -C $(@D)
 	touch $@
 
-$(TARGET_DIR)/usr/lib/libvorbis.so: $(LIBVORBIS_DIR)/.libs
-	$(MAKE) prefix=$(TARGET_DIR)/usr -C $(LIBVORBIS_DIR) install
-	touch $@
+$(STAGING_DIR)/usr/lib/libvorbis.so: $(LIBVORBIS_DIR)/.libs
+	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBVORBIS_DIR) install
 
+$(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-source: $(DL_DIR)/$(LIBVORBIS_SOURCE)

             reply	other threads:[~2008-07-03  8:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-03  8:14 ulf at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-06-17  5:29 [Buildroot] svn commit: trunk/buildroot/package/libvorbis hamish at uclibc.org
2008-06-17  7:17 ` Peter Korsgaard
2008-06-16 11:42 jacmet at uclibc.org
2008-06-16 11:42 jacmet at uclibc.org
2008-06-16 11:34 jacmet at uclibc.org
2008-06-16 11:34 jacmet at uclibc.org
2008-06-16 11:26 jacmet at uclibc.org
2007-10-31  6:36 ulf at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080703081454.A79343C651@busybox.net \
    --to=ulf@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox