c7f4b96471
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
667 B
Makefile
25 lines
667 B
Makefile
################################################################################
|
|
#
|
|
# feh
|
|
#
|
|
################################################################################
|
|
|
|
FEH_VERSION = 2.12
|
|
FEH_SOURCE = feh-$(FEH_VERSION).tar.bz2
|
|
FEH_SITE = http://feh.finalrewind.org
|
|
FEH_DEPENDENCIES = libcurl imlib2 libpng xlib_libXinerama xlib_libXt
|
|
FEH_LICENSE = MIT
|
|
FEH_LICENSE_FILES = COPYING
|
|
|
|
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
|
|
|
|
$(eval $(generic-package))
|