mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-25 06:03:09 +02:00
tre: initial commit
This commit is contained in:
parent
8dc9141cd3
commit
2d18f0806c
52
tre/Makefile
Normal file
52
tre/Makefile
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
PKG_NAME:=tre
|
||||||
|
PKG_VERSION:=0.8.0
|
||||||
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
|
PKG_SOURCE_URL:=http://laurikari.net/tre
|
||||||
|
PKG_MD5SUM:=b4d3232593dadf6746f4727bdda20b41
|
||||||
|
|
||||||
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
define Package/tre
|
||||||
|
SECTION:=libs
|
||||||
|
CATEGORY:=Libraries
|
||||||
|
TITLE:=The free and portable approximate regex matching library
|
||||||
|
URL:=http://laurikari.net/tre/
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Build/InstallDev
|
||||||
|
$(INSTALL_DIR) $(1)/usr/include/tre
|
||||||
|
$(CP) \
|
||||||
|
$(PKG_INSTALL_DIR)/usr/include/tre/* \
|
||||||
|
$(1)/usr/include/tre
|
||||||
|
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib $(1)/usr/lib/pkgconfig
|
||||||
|
$(CP) \
|
||||||
|
$(PKG_INSTALL_DIR)/usr/lib/libtre.{la,so*} \
|
||||||
|
$(1)/usr/lib
|
||||||
|
$(CP) \
|
||||||
|
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/tre.pc \
|
||||||
|
$(1)/usr/lib/pkgconfig
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/tre/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib $(1)/usr/bin
|
||||||
|
$(CP) \
|
||||||
|
$(PKG_INSTALL_DIR)/usr/lib/libtre.so* \
|
||||||
|
$(1)/usr/lib
|
||||||
|
$(INSTALL_BIN) \
|
||||||
|
$(PKG_INSTALL_DIR)/usr/bin/agrep \
|
||||||
|
$(1)/usr/bin
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,tre))
|
Loading…
Reference in New Issue
Block a user