1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-25 02:41:54 +02:00
openwrt-packages/xc3sprog/Makefile

38 lines
911 B
Makefile
Raw Normal View History

2013-06-22 16:43:25 +03:00
include $(TOPDIR)/rules.mk
PKG_NAME:=xc3sprog
PKG_REV:=742
PKG_VERSION:=r$(PKG_REV)
PKG_RELEASE:=1
PKG_SOURCE=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://xc3sprog.svn.sourceforge.net/svnroot/xc3sprog/trunk
PKG_SOURCE_PROTO:=svn
PKG_SOURCE_VERSION=$(PKG_REV)
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
2013-06-24 13:02:55 +03:00
include $(INCLUDE_DIR)/cmake.mk
2013-06-22 16:43:25 +03:00
define Package/xc3sprog
2013-06-24 13:02:55 +03:00
SECTION:=utils
CATEGORY:=Utilities
TITLE:=xc3sporg
URL:=http://xc3sprog.sourceforge.net/
DEPENDS:=+libusb +libftdi
2013-06-22 16:43:25 +03:00
endef
2013-06-24 13:02:55 +03:00
define Package/xc3sprog/description
xc3sprog is a suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs with the Xilinx Parallel Cable and other JTAG adapters under Linux.
2013-06-22 16:43:25 +03:00
endef
2013-06-24 13:02:55 +03:00
define Package/xc3sprog/install
2013-06-22 16:43:25 +03:00
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) \
$(PKG_BUILD_DIR)/mplayer \
$(1)/usr/bin/xc3sprog
endef
$(eval $(call BuildPackage,xc3sprog))