Bump version to 0.31.1
[cygport/rpm-style.git] / data / sample.cygport
blob4d875de5648c2a371bc38b1dadda4dbc1c560f0b
1 inherit meson
3 NAME="cygport"
4 VERSION=0.31.1
5 RELEASE=1
6 CATEGORY="Devel"
7 SUMMARY="Cygwin source packaging tool"
8 DESCRIPTION="cygport is the standard method for building and maintaining
9 packages for the Cygwin distribution."
10 HOMEPAGE="http://sourceware.org/cygwinports/"
11 SRC_URI="https://github.com/cygwinports/cygport/${VERSION}/cygport-${VERSION}.tar.gz"
13 # this package contains no compiled Cygwin binaries
14 # REMOVE THE FOLLOWING LINE for packages which are to be compiled for each arch
15 ARCH=noarch
17 # Build dependencies only
18 DEPEND="groff help2man robodoc"
19 # runtime deps to go in setup.hint, and note the escaped newline
20 REQUIRES="autoconf automake binutils bzip2 coreutils diffstat diffutils \
21 dos2unix findutils file gawk gcc-core gcc-g++ grep gzip lftp libtool lndir \
22 make openssh patch perl-Authen-SASL perl-MIME-tools perl-Net-SMTP-SSL rsync \
23 sed tar texinfo unzip util-linux wget which xz"
25 # We use the src_compile and src_test provided by meson.cygclass
27 src_install() {
28         # meson is unique in being run from $S; otherwise this should be $B
29         cd ${S}
30         meson_install
32         insinto /etc
33         doins ${S}/data/cygport.conf
34         make_etc_defaults /etc/cygport.conf /etc/X11/cygport-xvfb.conf