-
-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
42 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,14 +83,15 @@ CROSSBUILD=0 | |
BUILD=`guess_os` | ||
HOST="${BUILD}" | ||
TARGET="${HOST}" | ||
ETCDIR="/etc" | ||
SYSCONFDIR="" | ||
|
||
create_environ() { | ||
: ${EPREFIX:="${PREFIX}"} | ||
: ${SPREFIX:="${PREFIX}"} | ||
: ${BINDIR:="${SPREFIX}/bin"} | ||
: ${SBINDIR:="${PREFIX}/sbin"} | ||
: ${SYSCONFDIR:="${SPREFIX}/etc"} | ||
: ${ETCDIR:="${SPREFIX}/etc"} | ||
: ${LIBDIR:="${SPREFIX}/lib"} | ||
: ${LIBEXECDIR:="${SPREFIX}/libexec"} | ||
: ${INCLUDEDIR:="${SPREFIX}/include"} | ||
|
@@ -110,12 +111,12 @@ done | |
: ${INSTALL_PROGRAM_STRIP:=${INSTALL} -m 755 -s} | ||
: ${INSTALL_MAN:=${INSTALL} -m 444} | ||
: ${INSTALL_LIB:=${INSTALL} -m 755 -c} | ||
PKGNAME='radare2-extras' ; VERSION='5.1.0' ; VERSION_MAJOR=5; VERSION_MINOR=1; VERSION_PATCH=0; VERSION_NUMBER=50100; CONTACT_MAIL="[email protected]" ; CONTACT_NAME="pancake" ; CONTACT="pancake <[email protected]>" ; | ||
PKGNAME='radare2-extras' ; VERSION='5.2.0' ; VERSION_MAJOR=5; VERSION_MINOR=2; VERSION_PATCH=0; VERSION_NUMBER=50200; CONTACT_MAIL="[email protected]" ; CONTACT_NAME="pancake" ; CONTACT="pancake <[email protected]>" ; | ||
} | ||
|
||
show_usage() { | ||
cat <<EOF2 | ||
'configure' configures radare2-extras-5.1.0 to adapt to many kinds of systems. | ||
'configure' configures radare2-extras-5.2.0 to adapt to many kinds of systems. | ||
Usage: ./configure [OPTION]... [VAR=VALUE]... | ||
|
@@ -147,6 +148,7 @@ Fine tuning of the installation directories: | |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] | ||
--mandir=DIR man documentation [DATADIR/man] | ||
--sbindir=DIR system admin executables [EPREFIX/sbin] | ||
--etcdir=DIR same as --sysconfdir (/etc) | ||
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] | ||
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | ||
|
@@ -196,10 +198,10 @@ ocho() { | |
|
||
show_version() { | ||
if [ "$QUIET" = 1 ]; then | ||
echo "5.1.0" | ||
echo "5.2.0" | ||
exit 0 | ||
fi | ||
echo "radare2-extras-5.1.0 configuration script done with acr v1.9.8. | ||
echo "radare2-extras-5.2.0 configuration script done with acr v1.9.8. | ||
The 'Free Software Foundation' message is only for autodetection. | ||
Originally written by pancake <nopcode.org>." | ||
exit 0 | ||
|
@@ -228,7 +230,7 @@ case $flag in | |
show_version ; ;; | ||
-r|--r|--report) | ||
echo "PKGNAME: radare2-extras" | ||
echo "VERSION: 5.1.0" | ||
echo "VERSION: 5.2.0" | ||
echo "LANGS: c" | ||
echo "OPTIONAL: libewf libyara" | ||
echo "PKG-CONFIG: r_core libewf unicorn yara" | ||
|
@@ -262,7 +264,11 @@ echo "FLAGS: --with-ostype=auto --without-ewf" | |
--datadir) | ||
DATADIR="$value"; ;; | ||
--sysconfdir) | ||
SYSCONFDIR="$value"; ;; | ||
SYSCONFDIR="$value" | ||
ETCDIR="$value"; ;; | ||
--etcdir) | ||
SYSCONFDIR="$value" | ||
ETCDIR="$value"; ;; | ||
--sharedstatedir) | ||
SHAREDSTATEDIR="$value"; ;; | ||
--localstatedir) | ||
|
@@ -297,7 +303,7 @@ parse_options "$1" | |
shift | ||
done | ||
|
||
ENVWORDS="MANDIR INFODIR LIBDIR INCLUDEDIR LOCALSTATEDIR SYSCONFDIR DATADIR DOCDIR LIBEXECDIR SBINDIR BINDIR EPREFIX PREFIX SPREFIX TARGET HOST BUILD INSTALL INSTALL_LIB INSTALL_MAN INSTALL_PROGRAM INSTALL_PROGRAM_STRIP INSTALL_DIR INSTALL_SCRIPT INSTALL_DATA HOST_OS HOST_CPU BUILD_OS BUILD_CPU TARGET_OS TARGET_CPU VERSION VERSION_MAJOR VERSION_MINOR VERSION_PATCH VERSION_NUMBER PKGNAME VPATH CONTACT CONTACT_NAME CONTACT_MAIL PKGCONFIG CC CFLAGS CPPFLAGS LDFLAGS HAVE_LANG_C R2_CFLAGS R2_LDFLAGS HAVE_PKGCFG_R_CORE USEROSTYPE HAVE_LIB_EWF EWF_CFLAGS EWF_LDFLAGS HAVE_PKGCFG_LIBEWF WANT_EWF UC_CFLAGS UC_LDFLAGS HAVE_PKGCFG_UNICORN HAVE_LIB_YARA YARA_CFLAGS YARA_LDFLAGS HAVE_PKGCFG_YARA" | ||
ENVWORDS="MANDIR INFODIR LIBDIR INCLUDEDIR LOCALSTATEDIR ETCDIR SYSCONFDIR DATADIR DOCDIR LIBEXECDIR SBINDIR BINDIR EPREFIX PREFIX SPREFIX TARGET HOST BUILD INSTALL INSTALL_LIB INSTALL_MAN INSTALL_PROGRAM INSTALL_PROGRAM_STRIP INSTALL_DIR INSTALL_SCRIPT INSTALL_DATA HOST_OS HOST_CPU BUILD_OS BUILD_CPU TARGET_OS TARGET_CPU VERSION VERSION_MAJOR VERSION_MINOR VERSION_PATCH VERSION_NUMBER PKGNAME VPATH CONTACT CONTACT_NAME CONTACT_MAIL PKGCONFIG CC CFLAGS CPPFLAGS LDFLAGS HAVE_LANG_C R2_CFLAGS R2_LDFLAGS HAVE_PKGCFG_R_CORE USEROSTYPE HAVE_LIB_EWF EWF_CFLAGS EWF_LDFLAGS HAVE_PKGCFG_LIBEWF WANT_EWF UC_CFLAGS UC_LDFLAGS HAVE_PKGCFG_UNICORN HAVE_LIB_YARA YARA_CFLAGS YARA_LDFLAGS HAVE_PKGCFG_YARA" | ||
|
||
create_environ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
PKGNAME radare2-extras | ||
VERSION 5.1.0 | ||
VERSION 5.2.0 | ||
CONTACT pancake ; [email protected] | ||
|
||
USE_PKGCONFIG! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters