]> git.proxmox.com Git - libarchive-perl.git/blame - Makefile
updates for debian stretch amd64
[libarchive-perl.git] / Makefile
CommitLineData
c9a94924 1RELEASE=4.0
918a6904
DM
2
3# h2xs -Afn LibArchive
4# h2xs -an LibArchive /usr/include/archive.h /usr/include/archive_entry.h
5# perl Makefile.PL PREFIX=/usr
6
7#OPKGNAME = libarchive-2.2.4
8#DEB = libarchive1_2.2.4-1_i386.deb
9#DEVDEB = libarchive-dev_2.2.4-1_i386.deb
10
11PPSRC = LibArchive
b4320f1f 12PDEB = libarchive-perl_3.2.1-1_amd64.deb
918a6904
DM
13
14all: ${PDEB}
15
16${PDEB}: ${PPSRC}/LibArchive.xs
17 -rm -rf build
18 rsync -a --exclude .svn ${PPSRC}/ build/
19 cp -a debian build
20 cd build; dpkg-buildpackage -b -us -uc -rfakeroot
21 lintian ${PDEB}
22
23.phony: upload
24upload: ${PDEB}
b4320f1f 25 fixme
918a6904
DM
26
27CLEANFILES = *~ build *.deb libarchive_* ${OPKGNAME} libarchive-perl_*
28
29.phony: clean
30clean:
31 rm -rf ${CLEANFILES}