aboutsummaryrefslogtreecommitdiffstats
path: root/package/feh/feh.mk
blob: 9084b6566066c4c57814b1aacd33bbc6e8ab75c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FEH_VERSION = 2.5
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 $(generic-package))