2 # Copyright (C) 2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=http
://www.tx-us.xfce.org
/archive
/xfce-
$(PKG_VERSION
)/src
/
17 PKG_MD5SUM
:=cf2e0de43367da6a0ef7eeef04876281
22 include $(INCLUDE_DIR
)/package.mk
24 TARGET_CFLAGS
+=-I
$(STAGING_DIR
)/usr
/lib
/libintl
/include/
27 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib \
29 -L
$(STAGING_DIR
)/usr
/lib
/libintl
/lib
31 define Package
/xfprint
36 DEPENDS
:=+libxfce4util
+libxfcegui4
+xfconf
39 define Build
/InstallDev
40 $(INSTALL_DIR
) $(1)/usr
/{lib
/pkgconfig
,include/xfce4
/libxfprint
}
42 $(PKG_INSTALL_DIR
)/usr
/include/xfce4
/libxfprint
/* \
43 $(1)/usr
/include/xfce4
/libxfprint
/
46 $(PKG_INSTALL_DIR
)/usr
/lib
/*.
{la
,so
*,a
} \
50 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
51 $(1)/usr
/lib
/pkgconfig
/
54 define Package
/xfprint
/install
55 $(INSTALL_DIR
) $(1)/usr
/lib
/
57 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
60 $(INSTALL_DIR
) $(1)/usr
/lib
/xfce4
/xfprint-plugins
62 $(PKG_INSTALL_DIR
)/usr
/lib
/xfce4
/xfprint-plugins
/*.so
* \
63 $(1)/usr
/lib
/xfce4
/xfprint-plugins
/
65 $(INSTALL_DIR
) $(1)/usr
/bin
/
67 $(PKG_INSTALL_DIR
)/usr
/bin
/* \
70 $(INSTALL_DIR
) $(1)/usr
/share
/icons
72 $(PKG_INSTALL_DIR
)/usr
/share
/icons
/* \
75 $(INSTALL_DIR
) $(1)/usr
/share
/applications
77 $(PKG_INSTALL_DIR
)/usr
/share
/applications
/* \
78 $(1)/usr
/share
/applications
81 $(eval
$(call BuildPackage
,xfprint
))