Root/vido/Makefile

1#
2# Copyright (C) 2009 OpenWrt.org
3#
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:=vido
11PKG_VERSION:=20100326
12PKG_REV:=c544a52e18c5aae130002d05aca62940ba744597
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16PKG_SOURCE_URL:=git://projects.qi-hardware.com/vido.git
17PKG_SOURCE_PROTO:=git
18PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
19PKG_SOURCE_VERSION:=$(PKG_REV)
20
21PKG_INSTALL:=1
22
23include $(INCLUDE_DIR)/package.mk
24
25TARGET_CFLAGS+= \
26    -I$(STAGING_DIR)/usr/lib/libintl/include \
27    -I$(STAGING_DIR)/usr/libiconv/include
28
29TARGET_LDFLAGS+= \
30    -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
31    -L$(STAGING_DIR)/usr/lib/libintl/lib \
32    -L$(STAGING_DIR)/usr/lib/libiconv/lib
33
34define Package/vido
35  SECTION:=xorg-apps
36  CATEGORY:=Xorg
37  SUBMENU:=app
38  TITLE:=Vido
39  URL:=http://projects.qi-hardware.com/index.php/p/vido/
40  DEPENDS:=+gtkhtml +gtkmm +zimlib
41endef
42
43define Build/Configure
44    ( cd $(PKG_BUILD_DIR); ./autogen.sh );
45    $(call Build/Configure/Default)
46endef
47
48define Package/vido/install
49    $(INSTALL_DIR) \
50        $(1)/usr/bin \
51        $(1)/usr/share/applications \
52        $(1)/usr/share/pixmaps
53
54    $(INSTALL_BIN) \
55        $(PKG_INSTALL_DIR)/usr/bin/vido \
56        $(1)/usr/bin/
57
58    #$(INSTALL_DATA) \
59    # $(PKG_INSTALL_DIR)/usr/share/applications/vido.desktop \
60    # $(1)/usr/share/applications/
61endef
62
63$(eval $(call BuildPackage,vido))
64

Archive Download this file



interactive