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

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

[package] Update xfce packages to 4.6.1

File size: 1.8 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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=orage
11PKG_VERSION:=4.6.1
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/
16PKG_MD5SUM:=24fa43dd86ec5af5a4766620fd972cf2
17
18PKG_FIXUP:=libtool
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22
23TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/
24
25TARGET_LDFLAGS+= \
26        -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
27        -Wl,-rpath=/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.