kopia lustrzana https://github.com/Hamlib/Hamlib
Merge branch 'master' of https://github.com/Hamlib/Hamlib
commit
f9a69d83e3
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
# A script to build a set of VB.NET 2002 Framework 1.1 binary DLLs from a
|
# A script to build a set of VB.NET 2002 Framework 1.1 binary DLLs from a
|
||||||
# Hamlib tarball. This script assumes that the Hamlib tarball has been
|
# Hamlib tarball. This script assumes that the Hamlib tarball has been
|
||||||
|
@ -24,18 +24,25 @@ EX_NOINPUT=66
|
||||||
|
|
||||||
# Pass name of Hamlib archive extracted in $BUILD_DIR
|
# Pass name of Hamlib archive extracted in $BUILD_DIR
|
||||||
if [ $# -ne 1 ]; then
|
if [ $# -ne 1 ]; then
|
||||||
echo -e "\nUsage: $(basename $0) hamlib-version\n"
|
echo
|
||||||
echo -e "See README.build-VB.NET for more information.\n"
|
echo "Usage: $(basename $0) hamlib-version"
|
||||||
exit $EX_USAGE
|
echo "See README.build-VB.NET for more information."
|
||||||
|
|
||||||
|
exit $EX_USAGE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Make sure the Hamlib archive is where we expect
|
# Make sure the Hamlib archive is where we expect
|
||||||
if [ -d ${BUILD_DIR}/$1 ]; then
|
if [ -d ${BUILD_DIR}/$1 ]; then
|
||||||
echo -e "\nBuilding VB.NET binaries in ${BUILD_DIR}/$1\n\n"
|
echo
|
||||||
cd ${BUILD_DIR}/$1
|
echo "Building VB.NET binaries in ${BUILD_DIR}/$1"
|
||||||
|
echo
|
||||||
|
|
||||||
|
cd ${BUILD_DIR}/$1
|
||||||
else
|
else
|
||||||
echo -e "\nBuild directory, ${BUILD_DIR}/$1 not found!\nCheck path for $1 or correct the version number.\n"
|
echo "Build directory, ${BUILD_DIR}/$1 not found!"
|
||||||
exit $EX_NOINPUT
|
echo "Check path for $1 or correct the version number."
|
||||||
|
|
||||||
|
exit $EX_NOINPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# FIXME: Determine RELEASE only from AC_INIT line to avoid any other similar
|
# FIXME: Determine RELEASE only from AC_INIT line to avoid any other similar
|
||||||
|
@ -189,7 +196,9 @@ cp -a src/libhamlib.def ${ZIP_DIR}/lib/msvc/libhamlib-2.def; todos ${ZIP_DIR}/li
|
||||||
cp -a ${INST_DIR}/include/hamlib ${ZIP_DIR}/include/.; todos ${ZIP_DIR}/include/hamlib/*.h
|
cp -a ${INST_DIR}/include/hamlib ${ZIP_DIR}/include/.; todos ${ZIP_DIR}/include/hamlib/*.h
|
||||||
|
|
||||||
# C++ binding is useless on win32 because of ABI
|
# C++ binding is useless on win32 because of ABI
|
||||||
rm ${ZIP_DIR}/include/hamlib/{rig,rot}class.h
|
for f in *class.h ; do \
|
||||||
|
rm ${ZIP_DIR}/include/hamlib/${f}
|
||||||
|
done
|
||||||
|
|
||||||
for f in AUTHORS ChangeLog COPYING COPYING.LIB LICENSE README README.betatester README.VB.NET-bin THANKS ; do \
|
for f in AUTHORS ChangeLog COPYING COPYING.LIB LICENSE README README.betatester README.VB.NET-bin THANKS ; do \
|
||||||
cp -a ${f} ${ZIP_DIR}/${f}.txt ; todos ${ZIP_DIR}/${f}.txt ; done
|
cp -a ${f} ${ZIP_DIR}/${f}.txt ; todos ${ZIP_DIR}/${f}.txt ; done
|
||||||
|
|
|
@ -30,17 +30,27 @@ EX_NOINPUT=66
|
||||||
|
|
||||||
# Pass name of Hamlib archive extracted in $BUILD_DIR
|
# Pass name of Hamlib archive extracted in $BUILD_DIR
|
||||||
if [ $# -ne 1 ]; then
|
if [ $# -ne 1 ]; then
|
||||||
echo -e "\nUsage: $(basename $0) hamlib-version\n"
|
echo
|
||||||
echo -e "See README.build-Windows for more information.\n"
|
echo "Usage: $(basename $0) hamlib-version"
|
||||||
|
echo "See README.build-Windows for more information."
|
||||||
|
echo
|
||||||
|
|
||||||
exit ${EX_USAGE}
|
exit ${EX_USAGE}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Make sure the Hamlib archive is where we expect
|
# Make sure the Hamlib archive is where we expect
|
||||||
if [ -d ${BUILD_DIR}/$1 ]; then
|
if [ -d ${BUILD_DIR}/$1 ]; then
|
||||||
echo -e "\nBuilding W32 binaries in ${BUILD_DIR}/$1\n\n"
|
echo
|
||||||
|
echo "Building W32 binaries in ${BUILD_DIR}/$1"
|
||||||
|
echo
|
||||||
|
|
||||||
cd ${BUILD_DIR}/$1
|
cd ${BUILD_DIR}/$1
|
||||||
else
|
else
|
||||||
echo -e "\nBuild directory, ${BUILD_DIR}/$1 not found!\nCheck path for $1 or correct the version number.\n"
|
echo
|
||||||
|
echo "Build directory, ${BUILD_DIR}/$1 not found!"
|
||||||
|
echo "Check path for $1 or correct the version number."
|
||||||
|
echo
|
||||||
|
|
||||||
exit ${EX_NOINPUT}
|
exit ${EX_NOINPUT}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -30,17 +30,27 @@ EX_NOINPUT=66
|
||||||
|
|
||||||
# Pass name of Hamlib archive extracted in $BUILD_DIR
|
# Pass name of Hamlib archive extracted in $BUILD_DIR
|
||||||
if [ $# -ne 1 ]; then
|
if [ $# -ne 1 ]; then
|
||||||
echo -e "\nUsage: $(basename $0) hamlib-version\n"
|
echo
|
||||||
echo -e "See README.build-Windows for more information.\n"
|
echo "Usage: $(basename $0) hamlib-version"
|
||||||
|
echo "See README.build-Windows for more information."
|
||||||
|
echo
|
||||||
|
|
||||||
exit ${EX_USAGE}
|
exit ${EX_USAGE}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Make sure the Hamlib archive is where we expect
|
# Make sure the Hamlib archive is where we expect
|
||||||
if [ -d ${BUILD_DIR}/$1 ]; then
|
if [ -d ${BUILD_DIR}/$1 ]; then
|
||||||
echo -e "\nBuilding W64 binaries in ${BUILD_DIR}/$1\n\n"
|
echo
|
||||||
|
echo "Building W64 binaries in ${BUILD_DIR}/$1"
|
||||||
|
echo
|
||||||
|
|
||||||
cd ${BUILD_DIR}/$1
|
cd ${BUILD_DIR}/$1
|
||||||
else
|
else
|
||||||
echo -e "\nBuild directory, ${BUILD_DIR}/$1 not found!\nCheck path for $1 or correct the version number.\n"
|
echo
|
||||||
|
echo "Build directory, ${BUILD_DIR}/$1 not found!"
|
||||||
|
echo "Check path for $1 or correct the version number."
|
||||||
|
echo
|
||||||
|
|
||||||
exit ${EX_NOINPUT}
|
exit ${EX_NOINPUT}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue