changeset 2754:fadaf969d591

Merge pull request #51 from rboulton/add_plibc new package: plibc
author mabrand <mabrand@mabrand.nl>
date Tue, 18 Sep 2012 14:00:33 -0700
parents 00a8fe879b7b (current diff) dcc6afba15ac (diff)
children 9e3a605e2c33
files index.html
diffstat 2 files changed, 26 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/index.html	Thu May 10 04:41:24 2012 +0100
+++ b/index.html	Tue Sep 18 14:00:33 2012 -0700
@@ -1704,6 +1704,11 @@
         <td id="pdcurses-website"><a href="http://pdcurses.sourceforge.net/">PDcurses</a></td>
     </tr>
     <tr>
+        <td id="plibc-package">plibc</td>
+        <td id="plibc-version">0.1.7</td>
+        <td id="plibc-website"><a href="http://plibc.sourceforge.net/">Plibc</a></td>
+    </tr>
+    <tr>
         <td id="pdflib_lite-package">pdflib_lite</td>
         <td id="pdflib_lite-version">7.0.5p3</td>
         <td id="pdflib_lite-website"><a href="http://www.pdflib.com/download/free-software/pdflib-lite-7/">PDFlib Lite</a></td>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/plibc.mk	Tue Sep 18 14:00:33 2012 -0700
@@ -0,0 +1,21 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG             := plibc
+$(PKG)_IGNORE   :=
+$(PKG)_CHECKSUM := b545c602dc5b381fcea9d096910dede95168fbeb
+$(PKG)_SUBDIR   := PlibC-$($(PKG)_VERSION)
+$(PKG)_FILE     := plibc-$($(PKG)_VERSION)-src.tar.gz
+$(PKG)_URL      := http://sourceforge.net/projects/plibc/files/plibc/$($(PKG)_VERSION)/$($(PKG)_FILE)/download
+$(PKG)_DEPS     := gcc
+
+define $(PKG)_BUILD
+    cd '$(1)' && \
+    chmod 0755 configure && \
+    ./configure \
+        --host='$(TARGET)' \
+        --prefix='$(PREFIX)/$(TARGET)' \
+        --enable-static \
+        --disable-shared
+    $(MAKE) -C '$(1)' -j '$(JOBS)' install
+endef