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
18
19define Package/fbida
20    SUBMENU:=fbida
21    SECTION:=utils
22    CATEGORY:=Utilities
23    URL:=http://linux.bytesex.org/fbida/
24    DEPENDS:=+libpng +libtiff +libexif +libiconv +dejavu-fonts-ttf
25endef
26
27define Package/fbida/description
28    The fbida project contains a few applications for viewing and editing images
29endef
30
31define Package/fbi
32    $(call Package/fbida)
33    TITLE:=This is a image viewer for the linux framebuffer console.
34endef
35
36define Package/fbgs
37    $(call Package/fbida)
38    TITLE:=A wrapper script for viewing ps/pdf files on the framebuffer console using fbi.
39    DEPENDS:=+fbi +ghostscript
40endef
41
42TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libiconv/include
43TARGET_LDFLAGS+=-L$(STAGING_DIR)/usr/lib/libiconv/lib -liconv -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
44
45
46define Package/fbi/install
47    $(INSTALL_DIR) $(1)/usr/bin
48    $(INSTALL_BIN) $(PKG_BUILD_DIR)/{fbi,exiftran} $(1)/usr/bin/
49endef
50
51define Package/fbgs/install
52    $(INSTALL_DIR) $(1)/usr/bin
53    $(INSTALL_BIN) $(PKG_BUILD_DIR)/fbgs $(1)/usr/bin/
54endef
55
56$(eval $(call BuildPackage,fbi))
57$(eval $(call BuildPackage,fbgs))
58

Archive Download this file



interactive