source: feeds/xfce/app/orage/Makefile @ 14107

Last change on this file since 14107 was 14107, checked in by lars, 7 years ago

Add xfce packages.

File size: 1.7 KB
Line 
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# $Id$
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=orage
12PKG_VERSION:=4.5.93
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/
17PKG_MD5SUM:=
18PKG_FIXUP:=libtool
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22
23
24TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/
25
26TARGET_LDFLAGS+= \
27        -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
28        -L$(STAGING_DIR)/usr/lib/libintl/lib
29
30define Package/orage
31  SECTION:=xorg-app
32  CATEGORY:=Xorg
33  SUBMENU:=app
34  TITLE:=orage
35  DEPENDS:=+perl +xfce4-panel
36endef
37
38define Package/orage/install
39        $(INSTALL_DIR) $(1)/usr/lib/xfce4/panel-plugins
40        $(INSTALL_BIN) \
41                $(PKG_INSTALL_DIR)/usr/lib/xfce4/panel-plugins/* \
42                $(1)/usr/lib/xfce4/panel-plugins/
43
44        $(INSTALL_DIR) $(1)/usr/bin/
45        $(INSTALL_BIN) \
46                $(PKG_INSTALL_DIR)/usr/bin/* \
47                $(1)/usr/bin/
48
49        $(INSTALL_DIR) $(1)/usr/share/icons/*
50        $(CP) \
51                $(PKG_INSTALL_DIR)/usr/share/icons/* \
52                $(1)/usr/share/icons/
53
54        $(INSTALL_DIR) $(1)/usr/share/xfce4/panel-plugins/*
55        $(INSTALL_DATA) \
56                $(PKG_INSTALL_DIR)/usr/share/xfce4/panel-plugins/* \
57                $(1)/usr/share/xfce4/panel-plugins/
58
59        $(INSTALL_DIR) $(1)/usr/share/applications
60        $(INSTALL_DATA) \
61                $(PKG_INSTALL_DIR)/usr/share/applications/* \
62                $(1)/usr/share/applications
63
64        $(INSTALL_DIR) $(1)/usr/share/orage/sounds
65        $(INSTALL_DATA) \
66                $(PKG_INSTALL_DIR)/usr/share/orage/sounds/* \
67                $(1)/usr/share/orage/sounds/
68
69        $(INSTALL_DIR) $(1)/usr/share/orage/zoneinfo
70        $(CP) \
71                $(PKG_INSTALL_DIR)/usr/share/orage/zoneinfo/* \
72                $(1)/usr/share/orage/zoneinfo/
73endef
74
75$(eval $(call BuildPackage,orage))
Note: See TracBrowser for help on using the repository browser.