]>
Commit | Line | Data |
---|---|---|
721c4414 | 1 | RELEASE=4.2 |
70c25171 DM |
2 | |
3 | PACKAGE=libspice-protocol-dev | |
721c4414 | 4 | PKGVERSION=0.12.11 |
70c25171 DM |
5 | PKGRELEASE=1 |
6 | ||
7 | PKGDIR=spice-protocol-${PKGVERSION} | |
8 | PKGSRC=${PKGDIR}.tar.bz2 | |
9 | ||
84efb527 | 10 | ARCH=all |
70c25171 DM |
11 | |
12 | DEB=${PACKAGE}_${PKGVERSION}-${PKGRELEASE}_${ARCH}.deb | |
13 | ||
14 | ||
15 | all: ${DEB} | |
16 | ||
fdd3e10e | 17 | .PHONY: deb |
84efb527 DC |
18 | deb: $(DEB) |
19 | $(DEB): ${PKGSRC} | |
70c25171 DM |
20 | rm -rf ${PKGDIR} |
21 | tar xf ${PKGSRC} | |
22 | cp -a debian ${PKGDIR}/debian | |
23 | cd ${PKGDIR}; dpkg-buildpackage -rfakeroot -b -us -uc | |
24 | ||
fdd3e10e DM |
25 | .PHONY: upload |
26 | upload: ${DEB} | |
27 | tar cf - ${DEB}|ssh repoman@repo.proxmox.com upload | |
28 | ||
70c25171 DM |
29 | distclean: clean |
30 | ||
31 | .PHONY: clean | |
32 | clean: | |
84efb527 | 33 | rm -rf *~ debian/*~ *_${ARCH}.deb *.changes *.buildinfo *.dsc ${PKGDIR} |
70c25171 DM |
34 | |
35 | .PHONY: dinstall | |
36 | dinstall: ${DEB} | |
37 | dpkg -i ${DEB} |