Merge branch 'stapelberg/pkgconfig' into develop
This commit is contained in:
commit
6b7e79e1ee
10
libtomcrypt.pc.in
Normal file
10
libtomcrypt.pc.in
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
prefix=/usr
|
||||||
|
exec_prefix=${prefix}
|
||||||
|
libdir=@LIBDIR@
|
||||||
|
includedir=${prefix}/include
|
||||||
|
|
||||||
|
Name: LibTomCrypt
|
||||||
|
Description: public domain open source cryptographic toolkit
|
||||||
|
Version: 1.17
|
||||||
|
Libs: -L${libdir} -ltomcrypt
|
||||||
|
Cflags: -I${includedir}
|
@ -270,6 +270,9 @@ install: $(LIBNAME)
|
|||||||
libtool --silent --mode=install install -c libtomcrypt.la $(DESTDIR)$(LIBPATH)/libtomcrypt.la
|
libtool --silent --mode=install install -c libtomcrypt.la $(DESTDIR)$(LIBPATH)/libtomcrypt.la
|
||||||
install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH)
|
install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH)
|
||||||
install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH)
|
install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH)
|
||||||
|
install -d $(DESTDIR)$(LIBPATH)/pkgconfig
|
||||||
|
sed 's,@LIBDIR@,$(LIBPATH),g' libtomcrypt.pc.in > libtomcrypt.pc
|
||||||
|
install -m 0644 -g $(GROUP) -o $(USER) libtomcrypt.pc $(DESTDIR)$(LIBPATH)/pkgconfig/libtomcrypt.pc
|
||||||
|
|
||||||
#This rule makes the hash program included with libtomcrypt
|
#This rule makes the hash program included with libtomcrypt
|
||||||
hashsum: library
|
hashsum: library
|
||||||
|
Loading…
Reference in New Issue
Block a user