openwrt_archive/lxde/apps/lxrandr/Makefile
Jo-Philipp Wich 768e98bb41 [lxde] use nls.mk
SVN-Revision: 25331
2011-02-02 20:43:07 +00:00

48 lines
972 B
Makefile

#
# Copyright (C) 2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=lxrandr
PKG_VERSION:=0.1.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/lxde
PKG_MD5SUM:=ab2c7f6be7e4fe6d1a26e324d836453e
PKG_FIXUP:=libtool
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
TARGET_LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
define Package/lxrandr
SECTION:=xorg-app
CATEGORY:=Xorg
SUBMENU:=app
TITLE:=lxrandr
DEPENDS:=+gtk2 +xrandr +lxde-common
endef
define Package/lxrandr/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) \
$(PKG_INSTALL_DIR)/usr/bin/lxrandr \
$(1)/usr/bin
$(INSTALL_DIR) $(1)/usr/share/applications
$(INSTALL_DATA) \
$(PKG_INSTALL_DIR)/usr/share/applications/* \
$(1)/usr/share/applications/
endef
$(eval $(call BuildPackage,lxrandr))