]> git.proxmox.com Git - libarchive-perl.git/blob - Makefile
updates for debian stretch amd64
[libarchive-perl.git] / Makefile
1 RELEASE=4.0
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
11 PPSRC = LibArchive
12 PDEB = libarchive-perl_3.2.1-1_amd64.deb
13
14 all: ${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
24 upload: ${PDEB}
25 fixme
26
27 CLEANFILES = *~ build *.deb libarchive_* ${OPKGNAME} libarchive-perl_*
28
29 .phony: clean
30 clean:
31 rm -rf ${CLEANFILES}