Root/imgv/Makefile

Source at commit 37c649f8c08f4a3a953d843f6f4c6453980c5936 created 9 years 9 months ago.
By Xiangfu Liu, [imgv] update to 0.3.0
1#
2# Copyright (C) 2010 Sharism.cc
3# Author: Xiangfu Liu <xiangfu@sharism.cc>
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=imgv
11PKG_VERSION:=0.3.0
12PKG_REV:=16ccc7f946243b7f8edc0733b43258636dfdd372
13PKG_RELEASE:=2
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16PKG_SOURCE_URL:=git://projects.qi-hardware.com/imgv.git
17PKG_SOURCE_PROTO:=git
18PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
19PKG_SOURCE_VERSION:=$(PKG_REV)
20
21include $(INCLUDE_DIR)/package.mk
22
23define Package/imgv
24    SECTION:=utils
25    CATEGORY:=Utilities
26    TITLE:=SDL-based image viewer
27    DEPENDS:=+libsdl +libsdl-gfx +libsdl-image +directfb
28    URL:=http://projects.qi-hardware.com/index.php/p/imgv/
29endef
30
31
32MAKE_VARS += TARGETPATH=$(STAGING_DIR)
33
34define Package/imgv/install
35    $(INSTALL_DIR) $(1)/usr/bin
36    $(INSTALL_BIN) $(PKG_BUILD_DIR)/imgv $(1)/usr/bin/
37endef
38
39$(eval $(call BuildPackage,imgv))
40

Archive Download this file



interactive