mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
autogen: fix reproducible build.
This commit is contained in:
parent
55996440a4
commit
bed5593a63
1 changed files with 10 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'autogen'.
|
# Template build file for 'autogen'.
|
||||||
pkgname=autogen
|
pkgname=autogen
|
||||||
version=5.18.4
|
version=5.18.4
|
||||||
revision=6
|
revision=7
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static"
|
configure_args="--disable-static"
|
||||||
hostmakedepends="pkg-config perl"
|
hostmakedepends="pkg-config perl"
|
||||||
|
@ -18,6 +18,15 @@ replaces="autogen-docs>=0 autogen-devel>=0"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
mv -v ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
|
mv -v ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
|
||||||
|
|
||||||
|
if [ "$SOURCE_DATE_EPOCH" ]; then
|
||||||
|
# repackaging libopts to apply correct mtimes
|
||||||
|
mkdir libopts
|
||||||
|
tar xf $DESTDIR/usr/share/autogen/libopts-41.0.16.tar.gz -C libopts
|
||||||
|
find libopts -print0 | xargs -0 touch --date "@$SOURCE_DATE_EPOCH"
|
||||||
|
cd libopts
|
||||||
|
tar cf $DESTDIR/usr/share/autogen/libopts-41.0.16.tar.gz *
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
libopts_package() {
|
libopts_package() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue