kumquat-buildroot/package/setserial/setserial.mk

28 lines
959 B
Makefile
Raw Normal View History

################################################################################
2007-02-06 10:04:44 +01:00
#
# setserial
2007-02-06 10:04:44 +01:00
#
################################################################################
SETSERIAL_VERSION = 2.17
SETSERIAL_PATCH = setserial_2.17-45.3.diff.gz
SETSERIAL_SOURCE = setserial_$(SETSERIAL_VERSION).orig.tar.gz
SETSERIAL_SITE = http://snapshot.debian.org/archive/debian/20131001T214925Z/pool/main/s/setserial
SETSERIAL_LICENSE = GPLv2
SETSERIAL_LICENSE_FILES = debian/copyright
# make all also builds setserial.cat which needs nroff
SETSERIAL_MAKE_OPT = setserial
2007-02-06 10:04:44 +01:00
define SETSERIAL_APPLY_DEBIAN_PATCHES
# Touching gorhack.h is needed for the Debian patch 18 to work
if [ -d $(@D)/debian/patches ]; then \
touch $(@D)/gorhack.h; \
rm $(@D)/debian/patches/01_makefile.dpatch; \
support/scripts/apply-patches.sh $(@D) $(@D)/debian/patches *.dpatch; \
2007-02-06 10:04:44 +01:00
fi
endef
2007-02-06 10:04:44 +01:00
SETSERIAL_POST_PATCH_HOOKS += SETSERIAL_APPLY_DEBIAN_PATCHES
2008-12-21 16:34:38 +01:00
$(eval $(autotools-package))