Permalink
Browse files

Deb fix (shared lib links)

  • Loading branch information...
cardigliano committed Dec 10, 2018
1 parent 6033733 commit 181ec4992bf469a0133852822c8a998b8df1bd11
Showing with 8 additions and 1 deletion.
  1. +3 −1 packages/ubuntu/Makefile.in
  2. +3 −0 packages/ubuntu/configure
  3. +2 −0 packages/ubuntu/configure.in
@@ -12,7 +12,9 @@ ndpi:
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
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)/example/ndpiReader ./debian/ndpi-tmp/usr/local/bin/
cp $(NDPI_HOME)/src/include/*.h ./debian/ndpi-dev-tmp/usr/local/include/ndpi/
@@ -583,6 +583,7 @@ PACKAGE_URL=''

ac_subst_vars='LTLIBOBJS
LIBOBJS
MAJOR_RELEASE
GIT_REVISION
KERNEL
DATE
@@ -1705,6 +1706,7 @@ else
fi

NDPI_VERS=`../version.sh --release`
MAJOR_RELEASE=`../version.sh --major-release`
GIT_REVISION=`../version.sh --revision`

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
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
@@ -25,6 +25,7 @@ else
fi

NDPI_VERS=`../version.sh --release`
MAJOR_RELEASE=`../version.sh --major-release`
GIT_REVISION=`../version.sh --revision`

AC_CONFIG_FILES([Makefile debian/changelog debian/files debian/control])
@@ -35,5 +36,6 @@ AC_SUBST(EXTN)
AC_SUBST(DATE)
AC_SUBST(KERNEL)
AC_SUBST(GIT_REVISION)
AC_SUBST(MAJOR_RELEASE)

AC_OUTPUT

0 comments on commit 181ec49

Please sign in to comment.