1 include /usr
/share
/dpkg
/pkg-info.mk
3 PACKAGE
:= pve-libseccomp-dev
5 ARCH
:= $(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
6 GITVERSION
:= $(shell git rev-parse HEAD
)
9 BUILDSRC
:= $(PACKAGE
)-$(DEB_VERSION_UPSTREAM
)
11 DEB
:= pve-libseccomp2.4
-dev_
$(DEB_VERSION_UPSTREAM_REVISION
)_
$(ARCH
).deb
18 test -f
"$(SRCDIR)/confiure.ac" || git submodule update
--init
20 $(BUILDSRC
): libseccomp debian | submodule
22 cp
-a
$(SRCDIR
) $(BUILDSRC
)
23 cp
-a debian
$(BUILDSRC
)/debian
24 echo
"git clone git://git.proxmox.com/git/pve-libseccomp.git\\ngit checkout ${GITVERSION}" >$(BUILDSRC
)/debian
/SOURCE
30 cd
$(BUILDSRC
); dpkg-buildpackage
-b
-us
-uc
37 cd
$(BUILDSRC
); dpkg-buildpackage
-S
-us
-uc
-d
-nc
42 tar cf
- $(DEB
) | ssh repoman@repo.proxmox.com upload
--product pve
--dist stretch
46 rm -rf
$(BUILDSRC
) *.deb
*.
tar.gz
*.changes
*.dsc
*.buildinfo