Root/fbgrab/Makefile

Source at commit 1b3135c created 8 years 11 months ago.
By Xiangfu Liu, new package: SDL-widgets: a GUI toolkit on top of the SDL libraries
1#
2# Author: Xiangfu Liu <xiangfu@sharism.cc>
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:=fbgrab
11PKG_VERSION:=1.0
12
13PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14PKG_SOURCE_URL:=http://hem.bredband.net/gmogmo/fbgrab/
15
16PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
17
18PKG_INSTALL:=1
19
20include $(INCLUDE_DIR)/package.mk
21
22define Package/fbgrab
23    MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
24    TITLE:=framebuffer screenshot program
25    SECTION:=utils
26    CATEGORY:=Utilities
27    DEPENDS:=+zlib +libpng
28    URL:=http://hem.bredband.net/gmogmo/fbgrab/
29endef
30
31define Package/fbgrab/description
32    FBGrab is a framebuffer screenshot program
33endef
34
35TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
36
37define Package/fbgrab/install
38    $(INSTALL_DIR) $(1)/usr/bin
39    $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/fbgrab $(1)/usr/bin/
40endef
41
42$(eval $(call BuildPackage,fbgrab))
43

Archive Download this file



interactive