1 ################################################################################
5 ################################################################################
7 SETSERIAL_VERSION
= 2.17
8 SETSERIAL_PATCH
= setserial_2.17
-45.3.diff.gz
9 SETSERIAL_SOURCE
= setserial_
$(SETSERIAL_VERSION
).orig.
tar.gz
10 SETSERIAL_SITE
= http
://snapshot.debian.org
/archive
/debian
/20141023T043132Z
/pool
/main
/s
/setserial
11 SETSERIAL_LICENSE
= GPLv2
12 SETSERIAL_LICENSE_FILES
= debian
/copyright
13 # make all also builds setserial.cat which needs nroff
14 SETSERIAL_MAKE_OPTS
= setserial
16 define SETSERIAL_APPLY_DEBIAN_PATCHES
17 # Touching gorhack.h is needed for the Debian patch 18 to work
18 if
[ -d
$(@D
)/debian
/patches
]; then \
19 touch
$(@D
)/gorhack.h
; \
20 rm $(@D
)/debian
/patches
/01_makefile.dpatch
; \
21 $(APPLY_PATCHES
) $(@D
) $(@D
)/debian
/patches
*.dpatch
; \
25 SETSERIAL_POST_PATCH_HOOKS
+= SETSERIAL_APPLY_DEBIAN_PATCHES
27 $(eval
$(autotools-package
))