[Packages]: Add utils/sispmctl (#3366)
[openwrt/svn-archive/archive.git] / utils / sispmctl / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=sispmctl
12 PKG_VERSION:=2.7
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
17 PKG_MD5SUM:=2457f76cd129f880634f3381be0aeb76
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/sispmctl
22 SECTION:=utils
23 CATEGORY:=Utilities
24 TITLE:=Silver Shield PM Control for Linux
25 URL:=http://sispmctl.sourceforge.net/
26 DEPENDS:=+libusb
27 endef
28
29 CONFIGURE_ARGS += \
30 --enable-webless \
31 --disable-dependency-tracking \
32
33 CONFIGURE_VARS += \
34 ac_cv_path_HAVELIBUSB="$(STAGING_DIR)/usr/bin/libusb-config" \
35
36 define Package/sispmctl/install
37 $(INSTALL_DIR) $(1)/usr/bin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/
39 endef
40
41 $(eval $(call BuildPackage,sispmctl))