]>
git.proxmox.com Git - corosync-pve.git/blob - Makefile
3 # source from http://www.corosync.org/doku.php?id=releases
7 CSDIR
=corosync-
${CSVERSION}
8 CSSRC
=corosync-
${CSVERSION}.orig.
tar.gz
10 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
13 corosync-pve_
${CSVERSION}-${CSRELEASE}_
${ARCH}.deb \
14 libcorosync4-pve_
${CSVERSION}-${CSRELEASE}_
${ARCH}.deb \
15 libcorosync-pve-dev_
${CSVERSION}-${CSRELEASE}_
${ARCH}.deb
24 cp
-a debian
${CSDIR}/debian
25 cd
${CSDIR}; dpkg-buildpackage
-rfakeroot
-b
-us
-uc
29 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o rw
30 mkdir
-p
/pve
/${RELEASE}/extra
31 rm -f
/pve
/${RELEASE}/extra
/corosync
*.deb
32 rm -f
/pve
/${RELEASE}/extra
/libcorosync
*.deb
33 rm -f
/pve
/${RELEASE}/extra
/Packages
*
34 cp
${DEBS} /pve
/${RELEASE}/extra
35 cd
/pve
/${RELEASE}/extra
; dpkg-scanpackages .
/dev
/null
> Packages
; gzip
-9c Packages
> Packages.gz
36 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o ro
42 rm -rf
*_
${ARCH}.deb
*.changes
*.dsc
${CSDIR} corosync_
${CSVERSION}-${CSRELEASE}.
tar.gz