New makefile for prince v0.3

This commit is contained in:
gabri94 2017-03-01 09:23:48 +01:00
parent 7737ef11ef
commit eea095ac63
1 changed files with 6 additions and 7 deletions

View File

@ -1,16 +1,16 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=prince
PKG_VERSION:=v0.2
PKG_RELEASE:=2
PKG_VERSION:=v0.3
PKG_RELEASE:=3
PKG_BUILD_DIR:=$(BUILD_DIR)/prince-$(PKG_VERSION)
PKG_USE_MIPS16:=0
PKG_SOURCE_PROTO:=git
PKG_SOURCE:=prince-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/gabri94/poprouting.git
PKG_SOURCE_VERSION:=v0.2
PKG_SOURCE_SUBDIR:=prince-v0.2
PKG_SOURCE_VERSION:=346e59afefe5c46ddd6377a814da40254f64d26d
PKG_SOURCE_SUBDIR:=prince-v0.3
include $(INCLUDE_DIR)/package.mk
define Package/prince
@ -36,10 +36,9 @@ endef
define Package/prince/install
$(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_DATA) $(PKG_BUILD_DIR)/graph-parser_c/build/lib/libgraphcparser.so $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/prince/build/prince_c $(1)/usr/sbin/
$(INSTALL_DATA) $(PKG_BUILD_DIR)/prince/build/libprince_oonf.so $(1)/usr/lib/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/output/prince $(1)/usr/sbin/
$(INSTALL_DATA) $(PKG_BUILD_DIR)/output/libprince_oonf_c.so $(1)/usr/lib/
endef