| # |
| # Copyright (C) 2009-2010 OpenWrt.org |
| # |
| # This is free software, licensed under the GNU General Public License v2. |
| # See /LICENSE for more information. |
| # |
| |
| include $(TOPDIR)/rules.mk |
| |
| PKG_NAME:=tslib |
| PKG_VERSION:=1.22 |
| |
| PKG_SOURCE_URL:=https://github.com/libts/tslib/releases/download/$(PKG_VERSION)/ |
| PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
| PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)/$(PKG_NAME)-$(PKG_VERSION)/ |
| PKG_MD5SUM:=aa0f409d6f4a7ccdbeee9d869558d6ee |
| |
| PKG_INSTALL:=1 |
| |
| include $(INCLUDE_DIR)/package.mk |
| |
| define Package/tslib |
| SECTION:=libs |
| CATEGORY:=Libraries |
| TITLE:=tslib |
| URL:=https://github.com/libts/tslib/ |
| endef |
| |
| define Package/tslib/install |
| $(INSTALL_DIR) $(1)/usr/lib/ $(1)/usr/bin $(1)/etc |
| $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ |
| $(CP) $(PKG_INSTALL_DIR)/etc/* $(1)/etc |
| $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ |
| endef |
| |
| $(eval $(call BuildPackage,tslib)) |