Use BUILD_DEPENDS instead of DEPEND, and illustrate how to use DEPENDS instead of REQUIRES. --- data/sample.cygport | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/data/sample.cygport b/data/sample.cygport index 4d875de..4617ca7 100644 --- a/data/sample.cygport +++ b/data/sample.cygport @@ -15,13 +15,21 @@ SRC_URI="https://github.com/cygwinports/cygport/${VERSION}/cygport-${VERSION}.ta ARCH=noarch # Build dependencies only -DEPEND="groff help2man robodoc" +BUILD_DEPENDS="groff help2man robodoc" # runtime deps to go in setup.hint, and note the escaped newline REQUIRES="autoconf automake binutils bzip2 coreutils diffstat diffutils \ dos2unix findutils file gawk gcc-core gcc-g++ grep gzip lftp libtool lndir \ make openssh patch perl-Authen-SASL perl-MIME-tools perl-Net-SMTP-SSL rsync \ sed tar texinfo unzip util-linux wget which xz" +# Use DEPENDS instead of REQUIRES to specify version relations. Note +# the commas. +# DEPENDS="autoconf (>=13-1), automake (>=10-1), binutils, bzip2, \ +# coreutils, diffstat, diffutils, dos2unix, findutils, file, gawk, \ +# gcc-core, gcc-g++, grep, gzip, lftp, libtool, lndir, make, openssh, \ +# patch, perl-Authen-SASL, perl-MIME-tools, perl-Net-SMTP-SSL, rsync, \ +# sed, tar, texinfo, unzip, util-linux, wget, which, xz" + # We use the src_compile and src_test provided by meson.cygclass src_install() { -- 2.17.0
