From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/expat
Date: Mon, 25 Jun 2007 01:37:23 -0700 (PDT) [thread overview]
Message-ID: <20070625083723.B67A7A45B1@busybox.net> (raw)
Author: aldot
Date: 2007-06-25 01:37:23 -0700 (Mon, 25 Jun 2007)
New Revision: 18910
Log:
- bump version and correct install dirs (Julien Letessier)
Modified:
trunk/buildroot/package/expat/expat.mk
Changeset:
Modified: trunk/buildroot/package/expat/expat.mk
===================================================================
--- trunk/buildroot/package/expat/expat.mk 2007-06-25 08:16:14 UTC (rev 18909)
+++ trunk/buildroot/package/expat/expat.mk 2007-06-25 08:37:23 UTC (rev 18910)
@@ -4,12 +4,15 @@
#
#############################################################
-EXPAT_VERSION=2.0.0
+EXPAT_VERSION=2.0.1
EXPAT_SOURCE=expat-$(EXPAT_VERSION).tar.gz
EXPAT_CAT:=$(ZCAT)
EXPAT_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/expat
EXPAT_DIR:=$(BUILD_DIR)/expat-$(EXPAT_VERSION)
+EXPAT_BINARY:=.libs/libexpat.a
+EXPAT_TARGET_BINARY:=usr/lib/libexpat.so.1
+
$(DL_DIR)/$(EXPAT_SOURCE):
$(WGET) -P $(DL_DIR) $(EXPAT_SITE)/$(EXPAT_SOURCE)
@@ -17,13 +20,12 @@
$(EXPAT_DIR)/.unpacked: $(DL_DIR)/$(EXPAT_SOURCE)
$(EXPAT_CAT) $(DL_DIR)/$(EXPAT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- touch $(EXPAT_DIR)/.unpacked
+ $(CONFIG_UPDATE) $(EXPAT_DIR)
+ touch $@
$(EXPAT_DIR)/.configured: $(EXPAT_DIR)/.unpacked
(cd $(EXPAT_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)" \
- LDFLAGS="$(TARGET_LDFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
@@ -42,29 +44,29 @@
--infodir=/usr/info \
--enable-shared \
);
- touch $(EXPAT_DIR)/.configured
+ touch $@
-$(EXPAT_DIR)/.libs/libexpat.a: $(EXPAT_DIR)/.configured
+$(EXPAT_DIR)/$(EXPAT_BINARY): $(EXPAT_DIR)/.configured
$(MAKE) -C $(EXPAT_DIR) all
- touch -c $(EXPAT_DIR)/.libs/libexpat.a
+ touch -c $@
-$(STAGING_DIR)/lib/libexpat.so.1: $(EXPAT_DIR)/.libs/libexpat.a
- $(MAKE) DESTDIR=$(STAGING_DIR) -C $(EXPAT_DIR) install
- $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/lib\',g" $(STAGING_DIR)/lib/libexpat.la
- touch -c $(STAGING_DIR)/lib/libexpat.so.1
+$(STAGING_DIR)/$(EXPAT_TARGET_BINARY): $(EXPAT_DIR)/$(EXPAT_BINARY)
+ $(MAKE) DESTDIR=$(STAGING_DIR)/usr -C $(EXPAT_DIR) install
+ $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libexpat.la
+ touch -c $@
-$(TARGET_DIR)/lib/libexpat.so.1: $(STAGING_DIR)/lib/libexpat.so.1
- cp -dpf $(STAGING_DIR)/lib/libexpat.so* $(TARGET_DIR)/lib/
- #cp -dpf $(STAGING_DIR)/usr/bin/xmlwf $(TARGET_DIR)/bin/xmlwf
- -$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libexpat.so*
- touch -c $(TARGET_DIR)/lib/libexpat.so.1
+$(TARGET_DIR)/$(EXPAT_TARGET_BINARY): $(STAGING_DIR)/$(EXPAT_TARGET_BINARY)
+ cp -dpf $(STAGING_DIR)/usr/lib/libexpat.so* $(TARGET_DIR)/usr/lib/
+ #cp -dpf $(STAGING_DIR)/usr/bin/xmlwf $(TARGET_DIR)/usr/bin/xmlwf
+ -$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libexpat.so*
+ touch -c $@
-expat: uclibc pkgconfig $(TARGET_DIR)/lib/libexpat.so.1
+expat: uclibc pkgconfig $(TARGET_DIR)/$(EXPAT_TARGET_BINARY)
expat-clean:
rm -f $(EXPAT_DIR)/.configured
- rm -f $(STAGING_DIR)/lib/libexpat.* $(TARGET_DIR)/lib/libexpat.*
- #rm -f $(STAGING_DIR)/usr/bin/xmlwf $(TARGET_DIR)/bin/xmlwf
+ rm -f $(STAGING_DIR)/usr/lib/libexpat.* $(TARGET_DIR)/usr/lib/libexpat.*
+ #rm -f $(STAGING_DIR)/usr/bin/xmlwf $(TARGET_DIR)/usr/bin/xmlwf
-$(MAKE) -C $(EXPAT_DIR) clean
#############################################################
next reply other threads:[~2007-06-25 8:37 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-25 8:37 aldot at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-06-13 13:31 [Buildroot] svn commit: trunk/buildroot/package/expat jacmet at uclibc.org
2008-04-24 14:04 ninevoltz at uclibc.org
2008-04-24 13:15 ninevoltz at uclibc.org
2008-04-24 13:18 ` Hans-Christian Egtvedt
2008-04-24 13:38 ` John Voltz
2008-04-24 13:49 ` Peter Korsgaard
2008-03-31 20:09 jacmet at uclibc.org
2007-08-12 14:13 ulf at uclibc.org
2007-08-11 23:03 ulf at uclibc.org
2007-08-11 18:25 ulf at uclibc.org
2007-07-08 13:55 aldot at uclibc.org
2007-05-09 11:46 jacmet at uclibc.org
2007-01-15 21:27 andersen at uclibc.org
2007-01-11 7:25 andersen at uclibc.org
2006-08-24 22:00 aldot 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=20070625083723.B67A7A45B1@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