mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-07 12:32:56 +02:00
redo: update to 1.5.
Ship custom makefile for cross compiling. ><
This commit is contained in:
parent
35ad9a3b77
commit
c2b06168db
2 changed files with 21 additions and 17 deletions
13
srcpkgs/redo/files/Makefile
Normal file
13
srcpkgs/redo/files/Makefile
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
LINK.o=$(LINK.cc)
|
||||||
|
|
||||||
|
all: redo cubehash.1 redo-ifchange.1 redo-ifcreate.1 redo.1
|
||||||
|
|
||||||
|
redo: redo.o popt-bool-string.o popt-bool.o popt-compound-2arg.o popt-compound.o popt-integral.o popt-named.o popt-signed.o popt-simple.o popt-string-list.o popt-string-pair-list.o popt-string-pair.o popt-string.o popt-table.o popt-top-table.o popt-unsigned.o popt.o jobserver.o FileDescriptorOwner.o wait.o lockfile.o
|
||||||
|
|
||||||
|
redo.cpp: version.h
|
||||||
|
|
||||||
|
version.h:
|
||||||
|
printf '#define VERSION "'$(VERSION)'"\n' >$@
|
||||||
|
|
||||||
|
%.1: %.pod
|
||||||
|
pod2man --center "redo package" --release "v$(VERSION)" $< >$@
|
|
@ -1,35 +1,26 @@
|
||||||
# Template file for 'redo'
|
# Template file for 'redo'
|
||||||
pkgname=redo
|
pkgname=redo
|
||||||
version=1.5
|
version=1.5
|
||||||
revision=3
|
revision=4
|
||||||
create_wrksrc=yes
|
build_wrksrc="source"
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
short_desc="Incremental build system (version of de Boyne Pollard)"
|
short_desc="Incremental build system (version of de Boyne Pollard)"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="ISC"
|
license="ISC"
|
||||||
homepage="http://jdebp.info/Softwares/redo/"
|
homepage="http://jdebp.info/Softwares/redo/"
|
||||||
distfiles="http://jdebp.info/Repository/freebsd/redo-${version}.tar.gz"
|
distfiles="http://jdebp.info/Repository/freebsd/redo-${version}.tar.gz"
|
||||||
checksum=5ff21779993418cf16f5632c593e30d9a2780bfc38cef9de9ab9427154736d36
|
checksum=534d39d645534fad0861547a01a27e8c532e0d3425b2ecbbcc15bd8726f3e27f
|
||||||
|
|
||||||
do_configure() {
|
|
||||||
./package/prepare
|
|
||||||
|
|
||||||
echo "$CXX" >build/cxx
|
|
||||||
echo "$CPPFLAGS" >build/cppflags
|
|
||||||
echo "$CXXFLAGS" >build/cxxflags
|
|
||||||
echo "$LDFLAGS" >build/ldflags
|
|
||||||
}
|
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
./package/make
|
make -j ${XBPS_MAKEJOBS} -f ${FILESDIR}/Makefile -e VERSION="$version"
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin build/redo
|
vbin redo
|
||||||
vman build/redo.1
|
vman redo.1
|
||||||
for cmd in redo-ifcreate redo-ifchange cubehash; do
|
for cmd in redo-ifcreate redo-ifchange cubehash; do
|
||||||
ln -sf redo ${DESTDIR}/usr/bin/${cmd}
|
ln -sf redo ${DESTDIR}/usr/bin/${cmd}
|
||||||
vman build/${cmd}.1
|
vman ${cmd}.1
|
||||||
done
|
done
|
||||||
vlicense source/COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue