1ae741293f1abae79d2a07e710b2b122f1963312
[openwrt/svn-archive/feeds.git] / xfce / app / xfce-mousepad / 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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=xfce-mousepad
11 PKG_VERSION:=0.2.16
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=mousepad-$(PKG_VERSION).tar.bz2
15 PKG_BUILD_DIR:=$(BUILD_DIR)/mousepad-$(PKG_VERSION)
16 PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-4.6.1/src/
17
18 PKG_MD5SUM:=d98854edb76d823ac20b266fdf5a64a1
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22 include $(INCLUDE_DIR)/nls.mk
23
24 TARGET_LDFLAGS+= \
25 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
26 -Wl,-rpath=/usr/lib
27
28 define Package/xfce-mousepad
29 SECTION:=xorg-app
30 CATEGORY:=Xorg
31 SUBMENU:=app
32 TITLE:=xfce-mousepad
33 DEPENDS:=+libxfcegui4
34 endef
35
36 define Package/xfce-mousepad/install
37 $(INSTALL_DIR) $(1)/usr/bin/
38 $(INSTALL_BIN) \
39 $(PKG_INSTALL_DIR)/usr/bin/* \
40 $(1)/usr/bin/
41
42 $(INSTALL_DIR) $(1)/usr/share/pixmaps
43 $(INSTALL_DATA) \
44 $(PKG_INSTALL_DIR)/usr/share/pixmaps/* \
45 $(1)/usr/share/pixmaps/
46
47 $(INSTALL_DIR) $(1)/usr/share/applications
48 $(INSTALL_DATA) \
49 $(PKG_INSTALL_DIR)/usr/share/applications/* \
50 $(1)/usr/share/applications
51 endef
52
53 $(eval $(call BuildPackage,xfce-mousepad))