sonic-buildimage/platform/p4/tenjin/Makefile
YonatanPitz 28eb62fcff [saip4]: New p4 platform based on SAI behavioral model software switch (#1117)
* merged new p4 platform from 1.0.3

* reverted SAI-P4-BM to SAI1.0

* changed port_config.ini from alias to name. changed tenjin makefile to https

* updated SAI-P4-BM commit
2017-11-06 22:45:50 -08:00

20 lines
523 B
Makefile

SHELL = /bin/bash
.ONESHELL:
TENJIN_VERSION = 1.1.1
TENJIN_VERSION_FULL = $(TENJIN_VERSION)-1
MAIN_TARGET = python-tenjin_$(TENJIN_VERSION_FULL)_all.deb
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
rm -rf Tenjin-$(TENJIN_VERSION)
wget -nc https://pypi.python.org/packages/source/T/Tenjin/Tenjin-$(TENJIN_VERSION).tar.gz
tar xzf Tenjin-$(TENJIN_VERSION).tar.gz
pushd Tenjin-$(TENJIN_VERSION)
python setup.py --command-packages=stdeb.command bdist_deb
popd
mv Tenjin-$(TENJIN_VERSION)/deb_dist/$* $(DEST)/