translated package: tre

This commit is contained in:
Volker Grabsch 2008-11-08 19:15:03 +01:00
parent 49310e9309
commit 270b7e1883
1 changed files with 24 additions and 0 deletions

24
src/tre.mk Normal file
View File

@ -0,0 +1,24 @@
# TRE
# http://laurikari.net/tre/
PKG := tre
$(PKG)_VERSION := 0.7.5
$(PKG)_SUBDIR := tre-$($(PKG)_VERSION)
$(PKG)_FILE := tre-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL := http://laurikari.net/tre/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
wget -q -O- 'http://laurikari.net/tre/download.html' | \
$(SED) -n 's,.*tre-\([a-z0-9][^>]*\)\.tar.*,\1,p' | \
head -1
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
--disable-nls
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
endef