summaryrefslogtreecommitdiff
path: root/package/feh/feh.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/feh/feh.mk')
-rw-r--r--package/feh/feh.mk21
1 files changed, 21 insertions, 0 deletions
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))