Root/fbida/Makefile

1#
2# This is free software, licensed under the GNU General Public License v2.
3# See /LICENSE for more information.
4#
5
6include $(TOPDIR)/rules.mk
7
8PKG_NAME:=fbida
9PKG_VERSION:=2.07
10
11PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12PKG_SOURCE_URL:=http://dl.bytesex.org/releases/fbida/
13PKG_MD5SUM:=3e05910fb7c1d9b2bd3e272d96db069c
14
15PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
16
17include $(INCLUDE_DIR)/package.mk
18include $(INCLUDE_DIR)/nls.mk
19
20define Package/fbida
21    SUBMENU:=fbida
22    SECTION:=utils
23    CATEGORY:=Utilities
24    URL:=http://linux.bytesex.org/fbida/
25    DEPENDS:=+libpng +libtiff +libexif $(ICONV_DEPENDS) +dejavu-fonts-ttf +libcurl +libfreetype +fontconfig
26endef
27
28define Package/fbida/description
29    The fbida project contains a few applications for viewing and editing images
30endef
31
32define Package/fbi
33    $(call Package/fbida)
34    TITLE:=This is a image viewer for the linux framebuffer console.
35endef
36
37define Package/fbgs
38    $(call Package/fbida)
39    TITLE:=A wrapper script for viewing ps/pdf files on the framebuffer console using fbi.
40    DEPENDS:=+fbi +ghostscript
41endef
42
43TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib -liconv
44
45define Package/fbi/install
46    $(INSTALL_DIR) $(1)/usr/bin
47    $(INSTALL_BIN) $(PKG_BUILD_DIR)/{fbi,exiftran} $(1)/usr/bin/
48endef
49
50define Package/fbgs/install
51    $(INSTALL_DIR) $(1)/usr/bin
52    $(INSTALL_BIN) $(PKG_BUILD_DIR)/fbgs $(1)/usr/bin/
53endef
54
55$(eval $(call BuildPackage,fbi))
56$(eval $(call BuildPackage,fbgs))
57

Archive Download this file



interactive