1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-12-18 07:04:03 +02:00
openwrt-packages/xc3sprog/Makefile
2014-01-24 21:10:43 +08:00

38 lines
918 B
Makefile

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
include $(INCLUDE_DIR)/cmake.mk
define Package/xc3sprog
SECTION:=utils
CATEGORY:=Utilities
TITLE:=xc3sporg
URL:=http://xc3sprog.sourceforge.net/
DEPENDS:=+libusb-compat +libftdi
endef
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.
endef
define Package/xc3sprog/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) \
$(PKG_BUILD_DIR)/mplayer \
$(1)/usr/bin/xc3sprog
endef
$(eval $(call BuildPackage,xc3sprog))