diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-01-27 13:56:36 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-01-28 11:35:59 +0100 |
commit | b3d32ec569b8cd7efcb7a332d896eecd9681af02 (patch) | |
tree | 3c7e1d87ee226804e85e359dfe31bcdf67b0a198 /debian/patches/012_nxcomp_makefile-uninstall+autoconf.full+lite.patch | |
parent | a3087eec9b048d308ae704f7a0540eaa416d4813 (diff) | |
download | nx-libs-b3d32ec569b8cd7efcb7a332d896eecd9681af02.tar.gz nx-libs-b3d32ec569b8cd7efcb7a332d896eecd9681af02.tar.bz2 nx-libs-b3d32ec569b8cd7efcb7a332d896eecd9681af02.zip |
Fully rework the way nx-libs gets packaged for Debian/Ubuntu.
* Debian/Ubuntu packaging:
+ Fully rework the way nx-libs gets packaged for Debian/Ubuntu.
+ Split up libnx-x11 into individual packages.
+ Provide dbg:packages for each bin:package containing binaries.
+ Use Makefile logic to install files into DESTDIR.
+ Provide dev:packages for each lib:package individually.
+ Provide nx-x11proto-*-dev packages for all libnx-* libraries.
+ Install _all_ library files (*.so*) to /usr/lib/<triplet>/, so
no extra settings of LD_LIBRARY_PATH is necessary.
Diffstat (limited to 'debian/patches/012_nxcomp_makefile-uninstall+autoconf.full+lite.patch')
-rw-r--r-- | debian/patches/012_nxcomp_makefile-uninstall+autoconf.full+lite.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/debian/patches/012_nxcomp_makefile-uninstall+autoconf.full+lite.patch b/debian/patches/012_nxcomp_makefile-uninstall+autoconf.full+lite.patch index 9b9da7e31..af778fefc 100644 --- a/debian/patches/012_nxcomp_makefile-uninstall+autoconf.full+lite.patch +++ b/debian/patches/012_nxcomp_makefile-uninstall+autoconf.full+lite.patch @@ -36,12 +36,12 @@ Last-Update: 2012-02-14 install.bin: +install.lib: all -+ ./mkinstalldirs $(DESTDIR)${libdir}/nx ++ ./mkinstalldirs $(DESTDIR)${libdir} + ./mkinstalldirs $(DESTDIR)${includedir}/nx -+ $(INSTALL_DATA) $(LIBFULL) $(DESTDIR)${libdir}/nx -+ $(INSTALL_LINK) libXcomp.so.3 $(DESTDIR)${libdir}/nx -+ $(INSTALL_LINK) libXcomp.so $(DESTDIR)${libdir}/nx -+ $(INSTALL_DATA) libXcomp.a $(DESTDIR)${libdir}/nx ++ $(INSTALL_DATA) $(LIBFULL) $(DESTDIR)${libdir} ++ $(INSTALL_LINK) libXcomp.so.3 $(DESTDIR)${libdir} ++ $(INSTALL_LINK) libXcomp.so $(DESTDIR)${libdir} ++ $(INSTALL_DATA) libXcomp.a $(DESTDIR)${libdir} + $(INSTALL_DATA) NX*.h $(DESTDIR)${includedir}/nx + $(INSTALL_DATA) MD5.h $(DESTDIR)${includedir}/nx + echo "Running ldconfig tool, this may take a while..." && ldconfig || true @@ -53,10 +53,10 @@ Last-Update: 2012-02-14 +uninstall.bin: + +uninstall.lib: -+ $(RM_FILE) $(DESTDIR)${libdir}/nx/$(LIBFULL) -+ $(RM_FILE) $(DESTDIR)${libdir}/nx/libXcomp.so.3 -+ $(RM_FILE) $(DESTDIR)${libdir}/nx/libXcomp.so -+ $(RM_FILE) $(DESTDIR)${libdir}/nx/libXcomp.a ++ $(RM_FILE) $(DESTDIR)${libdir}/$(LIBFULL) ++ $(RM_FILE) $(DESTDIR)${libdir}/libXcomp.so.3 ++ $(RM_FILE) $(DESTDIR)${libdir}/libXcomp.so ++ $(RM_FILE) $(DESTDIR)${libdir}/libXcomp.a + $(RM_FILE) $(DESTDIR)${includedir}/nx/NXalert.h + $(RM_FILE) $(DESTDIR)${includedir}/nx/NX.h + $(RM_FILE) $(DESTDIR)${includedir}/nx/NXmitshm.h |