Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: andersen at uclibc.org <andersen@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/libpng
Date: Wed, 10 Jan 2007 02:29:25 -0800 (PST)	[thread overview]
Message-ID: <20070110102925.5496E48562@busybox.net> (raw)

Author: andersen
Date: 2007-01-10 02:29:24 -0800 (Wed, 10 Jan 2007)
New Revision: 17222

Log:
fix install such that pkg-config setup is correct


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


Changeset:
Modified: trunk/buildroot/package/libpng/libpng.mk
===================================================================
--- trunk/buildroot/package/libpng/libpng.mk	2007-01-10 09:28:01 UTC (rev 17221)
+++ trunk/buildroot/package/libpng/libpng.mk	2007-01-10 10:29:24 UTC (rev 17222)
@@ -50,7 +50,10 @@
 		--target=$(GNU_TARGET_NAME) \
 		--host=$(GNU_TARGET_NAME) \
 		--build=$(GNU_HOST_NAME) \
-		--prefix=/usr \
+		--prefix=$(STAGING_DIR) \
+		--exec_prefix=$(STAGING_DIR) \
+		--libdir=$(STAGING_DIR)/lib \
+		--includedir=$(STAGING_DIR)/include \
 		--without-libpng-compat \
 	);
 	touch $(LIBPNG_DIR)/.configured
@@ -60,11 +63,21 @@
 	touch $(LIBPNG_DIR)/.compiled
 
 $(STAGING_DIR)/lib/libpng.so: $(LIBPNG_DIR)/.compiled
-	$(MAKE) \
-		-C $(LIBPNG_DIR) \
-		DESTDIR=$(STAGING_DIR) \
-		prefix=/ \
-		install
+	$(MAKE) prefix=$(STAGING_DIR) \
+	    exec_prefix=$(STAGING_DIR) \
+	    bindir=$(STAGING_DIR)/bin \
+	    sbindir=$(STAGING_DIR)/sbin \
+	    libexecdir=$(STAGING_DIR)/libexec \
+	    datadir=$(STAGING_DIR)/share \
+	    sysconfdir=$(STAGING_DIR)/etc \
+	    sharedstatedir=$(STAGING_DIR)/com \
+	    localstatedir=$(STAGING_DIR)/var \
+	    libdir=$(STAGING_DIR)/lib \
+	    includedir=$(STAGING_DIR)/include \
+	    oldincludedir=$(STAGING_DIR)/include \
+	    infodir=$(STAGING_DIR)/info \
+	    mandir=$(STAGING_DIR)/man \
+	    -C $(LIBPNG_DIR) install;
 	touch -c $(STAGING_DIR)/lib/libpng.so
 
 $(TARGET_DIR)/usr/lib/libpng.so: $(STAGING_DIR)/lib/libpng.so

             reply	other threads:[~2007-01-10 10:29 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-10 10:29 andersen at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-01-11  7:26 [Buildroot] svn commit: trunk/buildroot/package/libpng andersen at uclibc.org
2007-02-03 18:47 andersen at uclibc.org
2007-07-29  7:14 ulf at uclibc.org
2007-08-01  8:36 ulf at uclibc.org
2007-08-01  9:47 ` Hebbar
2007-08-05 14:00 aldot at uclibc.org
2008-02-28 13:46 sjhill at uclibc.org
2008-02-28 21:43 ` Ulf Samuelsson
2008-03-04 11:36 jacmet at uclibc.org
2008-03-04 11:36 jacmet at uclibc.org
2008-03-05 13:35 sjhill at uclibc.org
2008-03-05 14:02 ` Peter Korsgaard
2008-03-05 14:06   ` sjhill at realitydiluted.com
2008-03-05 14:52     ` Peter Korsgaard
2008-10-06 15:11 jacmet at uclibc.org
2008-10-29 12:49 laird at uclibc.org
2008-10-29 13:53 ` Peter Korsgaard
2008-10-29 14:15   ` Daniel J Laird
2008-10-29 15:33   ` Daniel J Laird
2008-10-29 15:58     ` Peter Korsgaard
2009-01-12 12:45 laird at uclibc.org
2009-02-12 12:17 jacmet at uclibc.org
2009-02-27 14:59 jacmet 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=20070110102925.5496E48562@busybox.net \
    --to=andersen@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