1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-12-18 23:33:51 +02:00
openwrt-packages/fbida/Makefile
2012-10-12 11:35:31 +04:00

57 lines
1.4 KiB
Makefile

#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=fbida
PKG_VERSION:=2.07
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://dl.bytesex.org/releases/fbida/
PKG_MD5SUM:=3e05910fb7c1d9b2bd3e272d96db069c
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
define Package/fbida
SUBMENU:=fbida
SECTION:=utils
CATEGORY:=Utilities
URL:=http://linux.bytesex.org/fbida/
DEPENDS:=+libpng +libtiff +libexif $(ICONV_DEPENDS) +dejavu-fonts-ttf +libcurl +libfreetype +fontconfig
endef
define Package/fbida/description
The fbida project contains a few applications for viewing and editing images
endef
define Package/fbi
$(call Package/fbida)
TITLE:=This is a image viewer for the linux framebuffer console.
endef
define Package/fbgs
$(call Package/fbida)
TITLE:=A wrapper script for viewing ps/pdf files on the framebuffer console using fbi.
DEPENDS:=+fbi +ghostscript
endef
TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib -liconv
define Package/fbi/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/{fbi,exiftran} $(1)/usr/bin/
endef
define Package/fbgs/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/fbgs $(1)/usr/bin/
endef
$(eval $(call BuildPackage,fbi))
$(eval $(call BuildPackage,fbgs))