mirror of
https://git.proxmox.com/git/libarchive-perl
synced 2025-10-04 20:50:40 +00:00
buildsys: use dpkg-dev shipped helper makefile
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
85a417055c
commit
edb94d26d4
13
Makefile
13
Makefile
@ -1,20 +1,19 @@
|
||||
VERSION != dpkg-parsechangelog -Sversion | cut -d- -f1
|
||||
PACKAGE != dpkg-parsechangelog -Ssource
|
||||
PKGREL != dpkg-parsechangelog -Sversion | cut -d- -f2
|
||||
include /usr/share/dpkg/pkg-info.mk
|
||||
|
||||
PACKAGE=libarchive-perl
|
||||
|
||||
# h2xs -Afn LibArchive
|
||||
# h2xs -an LibArchive /usr/include/archive.h /usr/include/archive_entry.h
|
||||
# perl Makefile.PL PREFIX=/usr
|
||||
|
||||
|
||||
PPSRC = LibArchive
|
||||
|
||||
ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
||||
GITVERSION:=$(shell git rev-parse HEAD)
|
||||
|
||||
BUILDSRC=${PACKAGE}-${VERSION}
|
||||
DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb
|
||||
DSC=${PACKAGE}_${VERSION}-${PKGREL}.dsc
|
||||
BUILDSRC=${PACKAGE}-${DEB_VERSION_UPSTREAM}
|
||||
DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_${ARCH}.deb
|
||||
DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc
|
||||
|
||||
all: ${DEB}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user