Deb fix (shared lib links)
This commit is contained in:
@@ -12,7 +12,9 @@ ndpi:
|
|||||||
mkdir -p ./debian/ndpi-tmp/usr/local/lib ./debian/ndpi-tmp/usr/local/bin
|
mkdir -p ./debian/ndpi-tmp/usr/local/lib ./debian/ndpi-tmp/usr/local/bin
|
||||||
mkdir -p ./debian/ndpi-dev-tmp/usr/local/lib ./debian/ndpi-dev-tmp/usr/local/include/ndpi
|
mkdir -p ./debian/ndpi-dev-tmp/usr/local/lib ./debian/ndpi-dev-tmp/usr/local/include/ndpi
|
||||||
cd ${NDPI_HOME}; ./autogen.sh; ./configure; make
|
cd ${NDPI_HOME}; ./autogen.sh; ./configure; make
|
||||||
cp $(NDPI_HOME)/src/lib/libndpi.so* ./debian/ndpi-tmp/usr/local/lib/
|
cp $(NDPI_HOME)/src/lib/libndpi.so.@NDPI_VERS@ ./debian/ndpi-tmp/usr/local/lib/
|
||||||
|
cd ./debian/ndpi-tmp/usr/local/lib/; ln -s libndpi.so.@NDPI_VERS@ libndpi.so; cd -
|
||||||
|
cd ./debian/ndpi-tmp/usr/local/lib/; ln -s libndpi.so.@NDPI_VERS@ libndpi.so.@MAJOR_RELEASE@; cd -
|
||||||
cp $(NDPI_HOME)/src/lib/libndpi.a ./debian/ndpi-dev-tmp/usr/local/lib/
|
cp $(NDPI_HOME)/src/lib/libndpi.a ./debian/ndpi-dev-tmp/usr/local/lib/
|
||||||
cp $(NDPI_HOME)/example/ndpiReader ./debian/ndpi-tmp/usr/local/bin/
|
cp $(NDPI_HOME)/example/ndpiReader ./debian/ndpi-tmp/usr/local/bin/
|
||||||
cp $(NDPI_HOME)/src/include/*.h ./debian/ndpi-dev-tmp/usr/local/include/ndpi/
|
cp $(NDPI_HOME)/src/include/*.h ./debian/ndpi-dev-tmp/usr/local/include/ndpi/
|
||||||
|
|||||||
Vendored
+3
@@ -583,6 +583,7 @@ PACKAGE_URL=''
|
|||||||
|
|
||||||
ac_subst_vars='LTLIBOBJS
|
ac_subst_vars='LTLIBOBJS
|
||||||
LIBOBJS
|
LIBOBJS
|
||||||
|
MAJOR_RELEASE
|
||||||
GIT_REVISION
|
GIT_REVISION
|
||||||
KERNEL
|
KERNEL
|
||||||
DATE
|
DATE
|
||||||
@@ -1705,6 +1706,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
NDPI_VERS=`../version.sh --release`
|
NDPI_VERS=`../version.sh --release`
|
||||||
|
MAJOR_RELEASE=`../version.sh --major-release`
|
||||||
GIT_REVISION=`../version.sh --revision`
|
GIT_REVISION=`../version.sh --revision`
|
||||||
|
|
||||||
ac_config_files="$ac_config_files Makefile debian/changelog debian/files debian/control"
|
ac_config_files="$ac_config_files Makefile debian/changelog debian/files debian/control"
|
||||||
@@ -1717,6 +1719,7 @@ ac_config_files="$ac_config_files Makefile debian/changelog debian/files debian/
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
cat >confcache <<\_ACEOF
|
cat >confcache <<\_ACEOF
|
||||||
# This file is a shell script that caches the results of configure
|
# This file is a shell script that caches the results of configure
|
||||||
# tests run on this system so they can be shared between configure
|
# tests run on this system so they can be shared between configure
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
NDPI_VERS=`../version.sh --release`
|
NDPI_VERS=`../version.sh --release`
|
||||||
|
MAJOR_RELEASE=`../version.sh --major-release`
|
||||||
GIT_REVISION=`../version.sh --revision`
|
GIT_REVISION=`../version.sh --revision`
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile debian/changelog debian/files debian/control])
|
AC_CONFIG_FILES([Makefile debian/changelog debian/files debian/control])
|
||||||
@@ -35,5 +36,6 @@ AC_SUBST(EXTN)
|
|||||||
AC_SUBST(DATE)
|
AC_SUBST(DATE)
|
||||||
AC_SUBST(KERNEL)
|
AC_SUBST(KERNEL)
|
||||||
AC_SUBST(GIT_REVISION)
|
AC_SUBST(GIT_REVISION)
|
||||||
|
AC_SUBST(MAJOR_RELEASE)
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|||||||
Reference in New Issue
Block a user