1 PACKAGE=libpve-apiclient-perl
5 DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb
9 PERL5DIR=${DESTDIR}/usr/share/perl5
10 DOCDIR=${DESTDIR}/usr/share/doc/${PACKAGE}
18 make DESTDIR=./build install
19 cd build; dpkg-buildpackage -rfakeroot -b -us -uc
23 install -D -m 0644 PVE/APIClient/LWP.pm ${PERL5DIR}/PVE/APIClient/LWP.pm
24 install -d -m 755 ${DOCDIR}/examples
25 install -m 0755 examples/example1.pl ${DOCDIR}/examples
29 tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload
34 rm -rf ./build *.deb *.changes
35 find . -name '*~' -exec rm {} ';'