1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-07-08 11:08:39 +00:00
libsearpc/debian/patches/fix-pkgconfig-paths.patch
unDocUMeantIt b9234ae5dc added files for debian packaging (#26)
* added files for debian packaging

  - the directory debian was added
  - it can be used for proper packaging, building two binary packages:
    libsearpc and libsearpc-dev (the latter is used for building the
    other seafile related packages)

* renamed library package

  - debian library packages should include the SONAME

* added conflict info

  - don't allow this package to be installed alongside the official seafile package

* fixed dependency

* repackaging with cleaned up orig.tar.xz archives

* added symbol file

  - bumping version number

* fixing some linitan issues

* fixed python dependencies

  - ${python:Depends} somehow doesn't work for the libsearpc-dev package
  - lintian demands depending on python2

* emptying  the dependency_libs field in .la files

* minor changes to the debian/control file

* changed license to GPL-2
2016-07-27 12:51:44 +08:00

25 lines
552 B
Diff

The original packaging script installed relative to itself, not needed here.
--- a/libsearpc.pc.in
+++ b/libsearpc.pc.in
@@ -1,4 +1,4 @@
-prefix=(DESTDIR)@prefix@
+prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,12 +18,5 @@
SUBDIRS = lib pysearpc ${MAKE_DEMO} tests
-install-data-local:
-if MACOS
- sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
-else
- ${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
-endif
-
dist-hook:
git log -1 > $(distdir)/latest_commit