Root/imgv/Makefile

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:=933f92b86b355e482ea41d89f72982e8b0bf4475
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    MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
25    SECTION:=utils
26    CATEGORY:=Utilities
27    TITLE:=SDL-based image viewer
28    DEPENDS:=+libsdl +libsdl-gfx +libsdl-image +libsdl-ttf +directfb +libfreetype
29    URL:=http://projects.qi-hardware.com/index.php/p/imgv/
30endef
31
32TARGET_CFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
33MAKE_VARS += TARGETPATH=$(STAGING_DIR)
34
35define Package/imgv/install
36    $(INSTALL_DIR) $(1)/usr/bin
37    $(INSTALL_BIN) $(PKG_BUILD_DIR)/imgv $(1)/usr/bin/
38endef
39
40$(eval $(call BuildPackage,imgv))
41

Archive Download this file



interactive