OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | # |
| 2 | # This is free software, licensed under the GNU General Public License v2. |
| 3 | # See /LICENSE for more information. |
| 4 | # |
| 5 | |
| 6 | include $(TOPDIR)/rules.mk |
| 7 | |
| 8 | PKG_NAME:=fbida |
| 9 | PKG_VERSION:=2.07 |
| 10 | |
| 11 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
| 12 | PKG_SOURCE_URL:=http://dl.bytesex.org/releases/fbida/ |
| 13 | PKG_MD5SUM:=3e05910fb7c1d9b2bd3e272d96db069c |
| 14 | |
| 15 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
| 16 | |
| 17 | include $(INCLUDE_DIR)/package.mk |
| 18 | include $(INCLUDE_DIR)/nls.mk |
| 19 | |
| 20 | define 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 |
| 26 | endef |
| 27 | |
| 28 | define Package/fbida/description |
| 29 | The fbida project contains a few applications for viewing and editing images |
| 30 | endef |
| 31 | |
| 32 | define Package/fbi |
| 33 | $(call Package/fbida) |
| 34 | TITLE:=This is a image viewer for the linux framebuffer console. |
| 35 | endef |
| 36 | |
| 37 | define 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 |
| 41 | endef |
| 42 | |
| 43 | TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib -liconv |
| 44 | |
| 45 | define Package/fbi/install |
| 46 | $(INSTALL_DIR) $(1)/usr/bin |
| 47 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/{fbi,exiftran} $(1)/usr/bin/ |
| 48 | endef |
| 49 | |
| 50 | define Package/fbgs/install |
| 51 | $(INSTALL_DIR) $(1)/usr/bin |
| 52 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/fbgs $(1)/usr/bin/ |
| 53 | endef |
| 54 | |
| 55 | $(eval $(call BuildPackage,fbi)) |
| 56 | $(eval $(call BuildPackage,fbgs)) |
| 57 |
