summaryrefslogtreecommitdiffstats
path: root/package/feh
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2011-10-17 10:41:07 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-12-10 22:13:21 +0100
commit507e88bea8d57136a0966e3716b4698872d45d70 (patch)
treec93886533eb4028dbaec3d8cccc47ba1395dbcf9 /package/feh
parent5917191b3fd88104493165c1bcb0e116b1f848da (diff)
downloadbuildroot-novena-507e88bea8d57136a0966e3716b4698872d45d70.tar.gz
buildroot-novena-507e88bea8d57136a0966e3716b4698872d45d70.zip
New package: feh
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Tested-By: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/feh')
-rw-r--r--package/feh/Config.in14
-rw-r--r--package/feh/feh.mk21
2 files changed, 35 insertions, 0 deletions
diff --git a/package/feh/Config.in b/package/feh/Config.in
new file mode 100644
index 000000000..31e7239b5
--- /dev/null
+++ b/package/feh/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_FEH
+ bool "feh"
+ depends on BR2_PACKAGE_XORG7
+ select BR2_PACKAGE_XLIB_LIBXINERAMA
+ select BR2_PACKAGE_XLIB_LIBXT
+ select BR2_PACKAGE_IMLIB2_PNG
+ select BR2_PACKAGE_IMLIB2_JPEG
+ select BR2_PACKAGE_IMLIB2_X
+ select BR2_PACKAGE_GIBLIB
+ select BR2_PACKAGE_LIBCURL
+ help
+ feh is an X11 image viewer aimed mostly at console users.
+
+ http://feh.finalrewind.org/
diff --git a/package/feh/feh.mk b/package/feh/feh.mk
new file mode 100644
index 000000000..eb682774e
--- /dev/null
+++ b/package/feh/feh.mk
@@ -0,0 +1,21 @@
+FEH_VERSION = 2.0
+FEH_SOURCE = feh-$(FEH_VERSION).tar.bz2
+FEH_SITE = http://feh.finalrewind.org/
+FEH_DEPENDENCIES = libcurl giblib imlib2 libpng xlib_libXinerama xlib_libXt
+
+define FEH_BUILD_CMDS
+ $(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \
+ -C $(@D) all
+endef
+
+define FEH_INSTALL_TARGET_CMDS
+ $(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) " \
+ DESTDIR=$(TARGET_DIR) -C $(@D) install
+endef
+
+define FEH_UNINSTALL_TARGET_CMDS
+ $(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) " \
+ DESTDIR=$(TARGET_DIR) -C $(@D) uninstall
+endef
+
+$(eval $(call GENTARGETS))