Mercurial > mxe-octave
changeset 2539:dcc6afba15ac
new package: plibc
author | Richard Boulton <richard@tartarus.org> |
---|---|
date | Thu, 10 May 2012 04:20:14 +0100 |
parents | 518edbf5c710 |
children | fadaf969d591 |
files | index.html src/plibc.mk |
diffstat | 2 files changed, 26 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/index.html Sun May 20 23:44:39 2012 +0200 +++ b/index.html Thu May 10 04:20:14 2012 +0100 @@ -1684,6 +1684,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.5</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 Thu May 10 04:20:14 2012 +0100 @@ -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