Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/libraw1394
Date: Mon, 25 Jun 2007 01:58:39 -0700 (PDT)	[thread overview]
Message-ID: <20070625085839.2F01FA45BD@busybox.net> (raw)

Author: aldot
Date: 2007-06-25 01:58:38 -0700 (Mon, 25 Jun 2007)
New Revision: 18911

Log:
- Install the library under $(STAGING_DIR)/usr/lib (Julien Letessier)


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


Changeset:
Modified: trunk/buildroot/package/libraw1394/libraw1394.mk
===================================================================
--- trunk/buildroot/package/libraw1394/libraw1394.mk	2007-06-25 08:37:23 UTC (rev 18910)
+++ trunk/buildroot/package/libraw1394/libraw1394.mk	2007-06-25 08:58:38 UTC (rev 18911)
@@ -12,15 +12,13 @@
 $(DL_DIR)/$(LIBRAW1394_SOURCE):
 	$(WGET) -P $(DL_DIR) $(LIBRAW1394_SITE)/$(LIBRAW1394_SOURCE)
 
-$(LIBRAW1394_DIR)/.source: $(DL_DIR)/$(LIBRAW1394_SOURCE)
+$(LIBRAW1394_DIR)/.unpacked: $(DL_DIR)/$(LIBRAW1394_SOURCE)
 	$(ZCAT) $(DL_DIR)/$(LIBRAW1394_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-	touch $(LIBRAW1394_DIR)/.source
+	touch $@
 
-$(LIBRAW1394_DIR)/.configured: $(LIBRAW1394_DIR)/.source
-	(cd $(LIBRAW1394_DIR); \
+$(LIBRAW1394_DIR)/.configured: $(LIBRAW1394_DIR)/.unpacked
+	(cd $(LIBRAW1394_DIR); rm -rf config.cache ; \
 		$(TARGET_CONFIGURE_OPTS) \
-		CFLAGS="$(TARGET_CFLAGS)" \
-		LDFLAGS="$(TARGET_LDFLAGS)" \
 		./configure \
 		--target=$(GNU_TARGET_NAME) \
 		--host=$(GNU_TARGET_NAME) \
@@ -29,7 +27,7 @@
 		--exec-prefix=/usr \
 		--bindir=/usr/bin \
 		--sbindir=/usr/sbin \
-		--libdir=/lib \
+		--libdir=/usr/lib \
 		--libexecdir=/usr/lib \
 		--sysconfdir=/etc \
 		--datadir=/usr/share \
@@ -38,17 +36,17 @@
 		--mandir=/usr/man \
 		--infodir=/usr/info \
 	);
-	touch $(LIBRAW1394_DIR)/.configured;
+	touch $@
 
 $(LIBRAW1394_DIR)/.compiled: $(LIBRAW1394_DIR)/.configured
 	$(MAKE) -C $(LIBRAW1394_DIR)
-	touch $(LIBRAW1394_DIR)/.compiled
+	touch $@
 
-$(STAGING_DIR)/lib/libraw1394.so: $(LIBRAW1394_DIR)/.compiled
+$(STAGING_DIR)/usr/lib/libraw1394.so: $(LIBRAW1394_DIR)/.compiled
 	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBRAW1394_DIR)/src install
 
 $(TARGET_DIR)/usr/lib/libraw1394.so: $(STAGING_DIR)/lib/libraw1394.so
-	cp -dpf $(STAGING_DIR)/lib/libraw1394.so* $(TARGET_DIR)/usr/lib/
+	cp -dpf $(STAGING_DIR)/usr/lib/libraw1394.so* $(TARGET_DIR)/usr/lib/
 
 libraw1394: uclibc $(TARGET_DIR)/usr/lib/libraw1394.so
 

             reply	other threads:[~2007-06-25  8:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-25  8:58 aldot at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-01-11 20:12 [Buildroot] svn commit: trunk/buildroot/package/libraw1394 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=20070625085839.2F01FA45BD@busybox.net \
    --to=aldot@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