2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-02-06 10:04:44 +01:00
|
|
|
#
|
2013-06-06 01:53:28 +02:00
|
|
|
# setserial
|
2007-02-06 10:04:44 +01:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2014-07-02 14:40:03 +02:00
|
|
|
SETSERIAL_VERSION = 2.17
|
|
|
|
SETSERIAL_PATCH = setserial_2.17-45.3.diff.gz
|
|
|
|
SETSERIAL_SOURCE = setserial_$(SETSERIAL_VERSION).orig.tar.gz
|
2014-07-31 10:46:58 +02:00
|
|
|
SETSERIAL_SITE = http://snapshot.debian.org/archive/debian/20131001T214925Z/pool/main/s/setserial
|
2014-07-02 14:40:03 +02:00
|
|
|
SETSERIAL_LICENSE = GPLv2
|
|
|
|
SETSERIAL_LICENSE_FILES = debian/copyright
|
2014-09-04 22:34:59 +02:00
|
|
|
# make all also builds setserial.cat which needs nroff
|
|
|
|
SETSERIAL_MAKE_OPT = setserial
|
2007-02-06 10:04:44 +01:00
|
|
|
|
2010-04-10 18:48:53 +02:00
|
|
|
define SETSERIAL_APPLY_DEBIAN_PATCHES
|
2010-07-25 16:53:51 +02:00
|
|
|
# Touching gorhack.h is needed for the Debian patch 18 to work
|
2010-04-10 18:48:53 +02:00
|
|
|
if [ -d $(@D)/debian/patches ]; then \
|
2010-07-25 16:53:51 +02:00
|
|
|
touch $(@D)/gorhack.h; \
|
|
|
|
rm $(@D)/debian/patches/01_makefile.dpatch; \
|
2011-08-31 23:35:04 +02:00
|
|
|
support/scripts/apply-patches.sh $(@D) $(@D)/debian/patches *.dpatch; \
|
2007-02-06 10:04:44 +01:00
|
|
|
fi
|
2010-04-10 18:48:53 +02:00
|
|
|
endef
|
2007-02-06 10:04:44 +01:00
|
|
|
|
2010-04-10 18:48:53 +02:00
|
|
|
SETSERIAL_POST_PATCH_HOOKS += SETSERIAL_APPLY_DEBIAN_PATCHES
|
2008-12-21 16:34:38 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|