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 | |
| 19 | define 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 |
| 25 | endef |
| 26 | |
| 27 | define Package/fbida/description |
| 28 | The fbida project contains a few applications for viewing and editing images |
| 29 | endef |
| 30 | |
| 31 | define Package/fbi |
| 32 | $(call Package/fbida) |
| 33 | TITLE:=This is a image viewer for the linux framebuffer console. |
| 34 | endef |
| 35 | |
| 36 | define 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 |
| 40 | endef |
| 41 | |
| 42 | TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libiconv/include |
| 43 | TARGET_LDFLAGS+=-L$(STAGING_DIR)/usr/lib/libiconv/lib -liconv -Wl,-rpath-link=$(STAGING_DIR)/usr/lib |
| 44 | |
| 45 | |
| 46 | define Package/fbi/install |
| 47 | $(INSTALL_DIR) $(1)/usr/bin |
| 48 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/{fbi,exiftran} $(1)/usr/bin/ |
| 49 | endef |
| 50 | |
| 51 | define Package/fbgs/install |
| 52 | $(INSTALL_DIR) $(1)/usr/bin |
| 53 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/fbgs $(1)/usr/bin/ |
| 54 | endef |
| 55 | |
| 56 | $(eval $(call BuildPackage,fbi)) |
| 57 | $(eval $(call BuildPackage,fbgs)) |
| 58 |
