1 include /usr
/share
/dpkg
/pkg-info.mk
3 PACKAGE
=libpve-guest-common-perl
5 DEB
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}_all.deb
6 DSC
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}.dsc
8 BUILDDIR ?
= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
12 PERL5DIR
=${DESTDIR}/usr
/share
/perl5
13 DOCDIR
=${DESTDIR}/usr
/share
/doc
/${PACKAGE}
19 rsync
-a
* ${BUILDDIR}
20 echo
"git clone git://git.proxmox.com/git/pve-guest-common.git\\ngit checkout ${GITVERSION}" > ${BUILDDIR}/debian
/SOURCE
25 cd
${BUILDDIR}; dpkg-buildpackage
-b
-us
-uc
31 cd
${BUILDDIR}; dpkg-buildpackage
-S
-us
-uc
-d
-nc
35 install -d
${PERL5DIR}/PVE
36 install -m
0644 PVE
/GuestHelpers.pm
${PERL5DIR}/PVE
/
37 install -m
0644 PVE
/AbstractConfig.pm
${PERL5DIR}/PVE
/
38 install -m
0644 PVE
/AbstractMigrate.pm
${PERL5DIR}/PVE
/
39 install -m
0644 PVE
/ReplicationConfig.pm
${PERL5DIR}/PVE
/
40 install -m
0644 PVE
/ReplicationState.pm
${PERL5DIR}/PVE
/
41 install -m
0644 PVE
/Replication.pm
${PERL5DIR}/PVE
/
42 install -d
${PERL5DIR}/PVE
/VZDump
43 install -m
0644 PVE
/VZDump
/Plugin.pm
${PERL5DIR}/PVE
/VZDump
/
44 install -m
0644 PVE
/VZDump
/Common.pm
${PERL5DIR}/PVE
/VZDump
/
48 $(MAKE
) -C tests
check
52 tar cf
- ${DEB} | ssh repoman@repo.proxmox.com
-- upload
--product pve
--dist buster
57 rm -rf
${BUILDDIR} *.deb
*.dsc
*.changes
*.buildinfo
*.
tar.gz