add package for plib support

This commit is contained in:
woncount 2013-02-07 15:11:59 +04:00
parent 5436cee47d
commit bf336f7906
2 changed files with 29 additions and 0 deletions

View File

@ -1817,6 +1817,12 @@ aptitude -t squeeze-backports install cmake yasm</pre>
<td id="pdcurses-version">3.4</td>
<td id="pdcurses-website"><a href="http://pdcurses.sourceforge.net/">PDcurses</a></td>
</tr>
<tr>
<td id="plib-package">plib</td>
<td id="plib-version">1.8.5-rc1</td>
<td id="plib-website"><a href="http://plib.sourceforge.net/">Plib</a></td>
</tr>
<tr>
<td id="plibc-package">plibc</td>
<td id="plibc-version">0.1.7</td>

23
src/plib.mk Normal file
View File

@ -0,0 +1,23 @@
# This file is part of MXE.
# See index.html for further information.
PKG := plib
$(PKG)_IGNORE :=
$(PKG)_CHECKSUM := d014009343e2194a30aaba650e8cecf1bf54bd53
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
# not implemented
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
PKG_CONFIG='$(TARGET)-pkg-config'
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= html_DATA=
endef