|
|
@ -77,6 +77,13 @@ script: | |
|
|
|
make dist |
|
|
|
make dist |
|
|
|
DISTNAME=`echo bitcoin-*.tar.gz` |
|
|
|
DISTNAME=`echo bitcoin-*.tar.gz` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Correct tar file order |
|
|
|
|
|
|
|
mkdir -p temp |
|
|
|
|
|
|
|
pushd temp |
|
|
|
|
|
|
|
tar xf ../$DISTNAME |
|
|
|
|
|
|
|
find bitcoin-* | sort | tar --no-recursion -c -T - | gzip -9n > ../$DISTNAME |
|
|
|
|
|
|
|
popd |
|
|
|
|
|
|
|
|
|
|
|
ORIGPATH="$PATH" |
|
|
|
ORIGPATH="$PATH" |
|
|
|
# Extract the release tarball into a dir for each host and build |
|
|
|
# Extract the release tarball into a dir for each host and build |
|
|
|
for i in ${HOSTS}; do |
|
|
|
for i in ${HOSTS}; do |
|
|
@ -96,3 +103,6 @@ script: | |
|
|
|
mv $DISTNAME $OUTDIR/src |
|
|
|
mv $DISTNAME $OUTDIR/src |
|
|
|
mv ${OUTDIR}/x86_64-* ${OUTDIR}/64 |
|
|
|
mv ${OUTDIR}/x86_64-* ${OUTDIR}/64 |
|
|
|
mv ${OUTDIR}/i686-* ${OUTDIR}/32 |
|
|
|
mv ${OUTDIR}/i686-* ${OUTDIR}/32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Delete unwanted stuff |
|
|
|
|
|
|
|
find ${OUTDIR} -name "lib*.la" -delete |
|
|
|