2013-12-19 15:13:01 +00:00
|
|
|
SUMMARY = "Tool for working with series of patches"
|
2005-08-31 10:45:47 +00:00
|
|
|
HOMEPAGE = "http://savannah.nongnu.org/projects/quilt/"
|
|
|
|
SECTION = "devel"
|
2010-06-22 09:39:19 +00:00
|
|
|
LICENSE = "GPLv2"
|
2010-12-10 19:34:29 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
2006-05-09 18:38:19 +00:00
|
|
|
|
2014-05-08 03:44:04 +00:00
|
|
|
SRC_URI = "${SAVANNAH_GNU_MIRROR}/quilt/quilt-${PV}.tar.gz \
|
2014-01-03 06:51:30 +00:00
|
|
|
file://install.patch \
|
|
|
|
file://run-ptest \
|
|
|
|
file://Makefile \
|
|
|
|
"
|
2011-12-27 19:19:14 +00:00
|
|
|
|
2014-05-16 07:39:42 +00:00
|
|
|
SRC_URI[md5sum] = "c0ef4beb58a6fa72563b955e70624b6e"
|
|
|
|
SRC_URI[sha256sum] = "2846788221aa8844c54f10239c7cbc5e88031859162bcc285449446c3cfffe52"
|
2009-06-11 15:11:18 +00:00
|
|
|
|
2014-02-27 18:01:44 +00:00
|
|
|
inherit autotools-brokensep ptest
|
2009-11-16 22:33:56 +00:00
|
|
|
|
2013-01-10 08:50:03 +00:00
|
|
|
EXTRA_OECONF_darwin += "--without-date \
|
|
|
|
--without-getopt \
|
|
|
|
"
|
|
|
|
|
2009-11-16 22:33:56 +00:00
|
|
|
PACKAGES += "guards guards-doc"
|
|
|
|
FILES_${PN} = "${sysconfdir} ${datadir}/quilt \
|
2011-12-27 19:19:14 +00:00
|
|
|
${bindir}/quilt ${libdir}/quilt"
|
2009-11-16 22:33:56 +00:00
|
|
|
FILES_guards = "${bindir}/guards"
|
2012-03-13 18:37:54 +00:00
|
|
|
FILES_${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${BPN}"
|
2009-11-16 22:33:56 +00:00
|
|
|
FILES_guards-doc = "${mandir}/man1/guards.1"
|
|
|
|
|
2011-07-07 16:41:01 +00:00
|
|
|
RDEPENDS_${PN} = "bash"
|
|
|
|
|
2013-01-10 08:50:04 +00:00
|
|
|
EXTRA_OE_MAKE_ARGS_darwin ?= ""
|
|
|
|
EXTRA_OE_MAKE_ARGS ?= "BUILD_ROOT=${D}"
|
|
|
|
|
2014-01-23 06:45:48 +00:00
|
|
|
CACHED_CONFIGUREVARS += "ac_cv_path_BASH=/bin/bash"
|
|
|
|
|
2009-11-16 22:33:56 +00:00
|
|
|
# quilt ignores DESTDIR
|
|
|
|
do_install () {
|
2013-01-10 08:50:04 +00:00
|
|
|
oe_runmake ${EXTRA_OE_MAKE_ARGS} install
|
2011-12-27 19:19:14 +00:00
|
|
|
# cleanup unpackaged files
|
|
|
|
rm -rf ${D}/${datadir}/emacs
|
2009-11-16 22:33:56 +00:00
|
|
|
}
|
2014-01-03 06:51:30 +00:00
|
|
|
|
|
|
|
do_compile_ptest() {
|
|
|
|
oe_runmake bin/patch-wrapper test/.depend
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install_ptest() {
|
|
|
|
tar -cf - bin/ --exclude \*.in | ( cd ${D}${PTEST_PATH} && tar -xf - )
|
|
|
|
tar -cf - compat/ --exclude \*.in | ( cd ${D}${PTEST_PATH} && tar -xf - )
|
|
|
|
tar -cf - quilt/ --exclude \*.in | ( cd ${D}${PTEST_PATH} && tar -xf - )
|
|
|
|
tar -cf - test/ --exclude mail.test --exclude delete.test | ( cd ${D}${PTEST_PATH} && tar -xf - )
|
|
|
|
cp ${WORKDIR}/Makefile ${D}${PTEST_PATH}
|
|
|
|
}
|
|
|
|
|
|
|
|
RDEPENDS_${PN}-ptest = "make file sed gawk diffutils findutils ed perl \
|
|
|
|
perl-module-filehandle perl-module-getopt-std \
|
|
|
|
perl-module-posix perl-module-file-temp \
|
2014-08-27 15:57:10 +00:00
|
|
|
perl-module-text-parsewords bash \
|
2014-01-03 06:51:30 +00:00
|
|
|
"
|