mirror of
https://git.proxmox.com/git/libanyevent-http-perl
synced 2025-10-05 08:41:09 +00:00
Close #1035: importing stretch libanyevent-http-perl 2.22-1
This commit is contained in:
commit
8fe2f7ecfb
50
Makefile
Normal file
50
Makefile
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
RELEASE=4.2
|
||||||
|
|
||||||
|
VERSION=2.22
|
||||||
|
PKGREL=1
|
||||||
|
|
||||||
|
PACKAGE=libanyevent-http-perl
|
||||||
|
|
||||||
|
DEBSRC=libanyevent-http-perl_${VERSION}-${PKGREL}.debian.tar.xz
|
||||||
|
PKGDIR=AnyEvent-HTTP-${VERSION}
|
||||||
|
PKGSRC=libanyevent-http-perl_${VERSION}.orig.tar.gz
|
||||||
|
|
||||||
|
GITVERSION:=$(shell cat .git/refs/heads/master)
|
||||||
|
|
||||||
|
ARCH=all
|
||||||
|
DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb
|
||||||
|
|
||||||
|
all: ${DEB}
|
||||||
|
|
||||||
|
.PHONY: dinstall
|
||||||
|
dinstall: deb
|
||||||
|
dpkg -i ${DEB}
|
||||||
|
|
||||||
|
.PHONY: deb
|
||||||
|
deb ${DEB}:
|
||||||
|
rm -rf ${PKGDIR}
|
||||||
|
tar xf ${PKGSRC}
|
||||||
|
cd ${PKGDIR}; tar xf ../${DEBSRC}
|
||||||
|
echo "git clone git://git.proxmox.com/git/libanyevent-http-perl.git\\ngit checkout ${GITVERSION}" > ${PKGDIR}/debian/SOURCE
|
||||||
|
echo "debian/SOURCE" >> ${PKGDIR}/debian/docs
|
||||||
|
#cd ${PKGDIR}; patch -p1 <../update-changelog.patch
|
||||||
|
cd ${PKGDIR}; dpkg-buildpackage -rfakeroot -b -us -uc
|
||||||
|
lintian ${DEB}
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
clean:
|
||||||
|
rm -rf *~ *.deb *.changes ${PKGDIR}
|
||||||
|
|
||||||
|
.PHONY: distclean
|
||||||
|
distclean: clean
|
||||||
|
|
||||||
|
.PHONY: upload
|
||||||
|
upload: ${DEB}
|
||||||
|
umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw
|
||||||
|
mkdir -p /pve/${RELEASE}/extra
|
||||||
|
rm -f /pve/${RELEASE}/extra/${PACKAGE}_*.deb
|
||||||
|
rm -f /pve/${RELEASE}/extra/Packages*
|
||||||
|
cp ${DEB} /pve/${RELEASE}/extra
|
||||||
|
cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz
|
||||||
|
umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro
|
||||||
|
|
BIN
libanyevent-http-perl_2.22-1.debian.tar.xz
Normal file
BIN
libanyevent-http-perl_2.22-1.debian.tar.xz
Normal file
Binary file not shown.
BIN
libanyevent-http-perl_2.22.orig.tar.gz
Normal file
BIN
libanyevent-http-perl_2.22.orig.tar.gz
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user