]>
Commit | Line | Data |
---|---|---|
c9a94924 | 1 | RELEASE=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 | ||
11 | PPSRC = LibArchive | |
b4320f1f | 12 | PDEB = libarchive-perl_3.2.1-1_amd64.deb |
918a6904 DM |
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} | |
b4320f1f | 25 | fixme |
918a6904 DM |
26 | |
27 | CLEANFILES = *~ build *.deb libarchive_* ${OPKGNAME} libarchive-perl_* | |
28 | ||
29 | .phony: clean | |
30 | clean: | |
31 | rm -rf ${CLEANFILES} |