Changeset 799


Ignore:
Timestamp:
Nov 26, 2016, 3:29:14 PM (3 years ago)
Author:
amain
Message:

Add libnl-tiny to packages/svn. Update packages to build on current Debian stretch.

Location:
trunk/debian/packages/libnl-tiny/trunk
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/packages/libnl-tiny/trunk/debian/changelog

    r797 r799  
     1libnl-tiny (0.1.6~debwrtSTRETCH+4) stretch-debwrt-unstable; urgency=medium
     2
     3  * Use svn-buildpackage
     4  * Add shlibs.local to fix multiarch lib issue(similar to:
     5    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810499)
     6
     7 -- Johan van Zoomeren <amain@debwrt.net>  Fri, 25 Nov 2016 22:25:09 +0100
     8
    19libnl-tiny (0.1.5-2~debwrt70+1) wheezy-debwrt-unstable; urgency=medium
    210
  • trunk/debian/packages/libnl-tiny/trunk/debian/control

    r797 r799  
    33Priority: optional
    44Maintainer: Johan van Zoomeren <amain@debwrt.net>
    5 Build-Depends: debhelper (>= 9)
     5Build-Depends: debhelper (>= 9), quilt
    66Pre-Depends: ${misc:Pre-Depends}
    7 Standards-Version: 3.9.6
     7Standards-Version: 3.9.8
    88Homepage: https://dev.openwrt.org/browser/trunk/package/libnl-tiny
    99
  • trunk/debian/packages/libnl-tiny/trunk/debian/source/format

    r797 r799  
    1 3.0 (quilt)
     13.0 (native)
  • trunk/debian/packages/libnl-tiny/trunk/src/Makefile

    r793 r799  
    1 CC=gcc
    2 WFLAGS=-Wall
    3 CFLAGS=-O2
     1WFLAGS+=-Wall
     2
     3CFLAGS+=-O2 -fPIC
     4
    45INCLUDES=-Iinclude
    56
    6 LIBNAME=libnl-tiny.so
     7LIBNAME=libnl-tiny
     8STATICLIB=$(LIBNAME).a
     9SHAREDLIB=$(LIBNAME).so
     10SHAREDLIBV=$(LIBNAME).so.0.1.5
     11SHAREDLIBM=$(LIBNAME).so.0
    712
    8 all: $(LIBNAME)
     13all: $(SHAREDLIBV)
    914
    1015%.o: %.c
     
    1419GENL_OBJ=genl.o genl_family.o genl_ctrl.o genl_mngt.o unl.o
    1520
    16 $(LIBNAME): $(LIBNL_OBJ) $(GENL_OBJ)
    17         $(CC) $(CFLAGS) -Wl,-Bsymbolic-functions -shared -o $@ $^
     21$(SHAREDLIBV): $(LIBNL_OBJ) $(GENL_OBJ)
     22        $(CC) $(CFLAGS) $(LDFLAGS) -Wl,-Bsymbolic-functions,-soname,$(SHAREDLIBM) -shared -o $@ $^
     23        rm -f $(SHAREDLIB) $(SHAREDLIBM)
     24        ln -s $@ $(SHAREDLIB)
     25        ln -s $@ $(SHAREDLIBM)
     26
     27
Note: See TracChangeset for help on using the changeset viewer.