You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
674 B
25 lines
674 B
# 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
|