lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

Makefile (1020B)


      1 #
      2 # Copyright (C) 2014 OpenWrt.org
      3 #
      4 # This is free software, licensed under the GNU General Public License v2.
      5 # See /LICENSE for more information.
      6 #
      7 
      8 include $(TOPDIR)/rules.mk
      9 
     10 PKG_NAME:=dtndht
     11 PKG_VERSION:=0.2.3
     12 PKG_RELEASE:=1
     13 
     14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
     15 PKG_SOURCE_URL:=http://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases
     16 PKG_MD5SUM:=37c33910ac7e760aad4db81724aeb4fb
     17 PKG_MAINTAINER:=Johannes Morgenroth <morgenroth@ibr.cs.tu-bs.de>
     18 PKG_LICENSE:=Apache-2.0
     19 
     20 PKG_INSTALL:=1
     21 PKG_FIXUP:=libtool
     22 
     23 include $(INCLUDE_DIR)/package.mk
     24 
     25 define Package/dtndht
     26   SECTION:=libs
     27   CATEGORY:=Libraries
     28   DEPENDS:=+libopenssl
     29   TITLE:=Library for DHT lookups for DTNs
     30 endef
     31 
     32 define Package/dtndht/description
     33  A library with DHT functions for DTN name lookups.
     34 endef
     35 
     36 define Build/InstallDev
     37 	$(INSTALL_DIR) $(1)
     38 	$(CP) $(PKG_INSTALL_DIR)/* $(1)/
     39 endef
     40 
     41 define Package/dtndht/install
     42 	$(INSTALL_DIR) $(1)/usr/lib
     43 	$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so.* $(1)/usr/lib/
     44 endef
     45 
     46 $(eval $(call BuildPackage,dtndht))