* Honor LIBDIR and VERSION in pkgcfg
This commit is contained in:
parent
f116b681e6
commit
8e102353ec
|
@ -58,12 +58,12 @@ pkgcfg:
|
|||
@echo Generating pkgconfig stub for ${NAME}
|
||||
@echo 'prefix=@PREFIX@' > ../../pkgcfg/${NAME}.pc.acr
|
||||
@echo 'exec_prefix=$${prefix}' >> ../../pkgcfg/${NAME}.pc.acr
|
||||
@echo 'libdir=$${exec_prefix}/lib' >> ../../pkgcfg/${NAME}.pc.acr
|
||||
@echo 'libdir=@LIBDIR@' >> ../../pkgcfg/${NAME}.pc.acr
|
||||
@echo 'includedir=$${prefix}/include' >> ../../pkgcfg/${NAME}.pc.acr
|
||||
@echo >> ../../pkgcfg/${NAME}.pc.acr
|
||||
@echo 'Name: ${NAME}' >> ../../pkgcfg/${NAME}.pc.acr
|
||||
@echo 'Description: radare foundation libraries' >> ../../pkgcfg/${NAME}.pc.acr
|
||||
@echo 'Version: ${VERSION}' >> ../../pkgcfg/${NAME}.pc.acr
|
||||
@echo 'Version: @VERSION@' >> ../../pkgcfg/${NAME}.pc.acr
|
||||
@echo 'Requires:' >> ../../pkgcfg/${NAME}.pc.acr
|
||||
@if [ "${NAME}" = "libr" ]; then NAME=''; else NAME=${NAME}; fi ;\
|
||||
echo 'Libs: -L$${libdir} '`echo $${NAME} ${DEPS}|sed -e s,r_,-lr_,g` >> ../../pkgcfg/${NAME}.pc.acr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_anal
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_anal -lr_util -lr_lib -lr_reg -lr_syscall -lr_diff
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_asm
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_asm -lr_lib -lr_util
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_bin
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_bin -lr_lib -lr_util
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_bp
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_bp -lr_util
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_cmd
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_cmd -lr_util -lr_lib
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_config
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_config -lr_util
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_cons
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_cons -lr_util
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_core
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_core -lr_config -lr_cons -lr_line -lr_io -lr_cmd -lr_util -lr_print -lr_flags -lr_asm -lr_lib -lr_debug -lr_hash -lr_bin -lr_lang -lr_io -lr_anal -lr_parse -lr_print -lr_bp -lr_reg -lr_search -lr_syscall -lr_sign -lr_diff -lr_socket -lr_fs
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_debug
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_debug -lr_reg -lr_anal -lr_bp -lr_util -lr_io
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_diff
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_diff -lr_util
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_flags
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_flags -lr_util -lr_cons
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_fs
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_fs -lr_lib -lr_util -lr_io
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_hash
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_hash
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_io
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_io -lr_lib -lr_util -lr_socket
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_lang
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_lang -lr_util -lr_lib
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_lib
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_lib -lr_util
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_line
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_line -lr_util -lr_cons
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_parse
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_parse -lr_lib -lr_flags -lr_util -lr_anal
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_print
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_print -lr_cons -lr_util -lr_asm -lr_anal
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_reg
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_reg -lr_util
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_search
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_search -lr_util
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_sign
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_sign -lr_util -lr_anal
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_socket
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_socket
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_syscall
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_syscall
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
libdir=@LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: r_util
|
||||
Description: radare foundation libraries
|
||||
Version: 0.7.1
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -lr_util
|
||||
Cflags: -I${includedir}/libr
|
||||
|
|
Loading…
Reference in New Issue