mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
1: update to 1.1.7.
2: install snappy.pc for backward compatible. PR: 227220 Submitted by: tcovert+freebsd@sahuagin.net
This commit is contained in:
parent
e8f3d03102
commit
79e2debe22
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518247
@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= snappy
|
||||
PORTVERSION= 1.1.6
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.1.7
|
||||
CATEGORIES= archivers
|
||||
|
||||
MAINTAINER= vanilla@FreeBSD.org
|
||||
@ -11,18 +10,19 @@ COMMENT= Fast compressor/decompressor library
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
USES= autoreconf compiler:c++11-lang libtool pathfix pkgconfig
|
||||
CONFIGURE_ARGS= --disable-gtest
|
||||
GNU_CONFIGURE= yes
|
||||
USES= cmake compiler:c++11-lang
|
||||
USE_LDCONFIG= yes
|
||||
CFLAGS+= -DNDEBUG
|
||||
CMAKE_ON= BUILD_SHARED_LIBS
|
||||
CMAKE_OFF= SNAPPY_BUILD_TESTS
|
||||
CMAKE_BUILD_TYPE= Release
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= google
|
||||
TEST_TARGET= check
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
||||
SUB_FILES+= snappy.pc
|
||||
SUB_LIST+= PORTVERSION=${PORTVERSION}
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/libsnappy.so.1.1.6
|
||||
@${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/libsnappy.so.${PORTVERSION}
|
||||
${INSTALL_DATA} ${WRKDIR}/snappy.pc ${STAGEDIR}${LOCALBASE}/libdata/pkgconfig
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1501830268
|
||||
SHA256 (google-snappy-1.1.6_GH0.tar.gz) = 6fa92cde5b2caefd0d9a60336991ba42e5a7ddc3bdc36c5610451373751d0495
|
||||
SIZE (google-snappy-1.1.6_GH0.tar.gz) = 1128388
|
||||
TIMESTAMP = 1534410160
|
||||
SHA256 (google-snappy-1.1.7_GH0.tar.gz) = 3dfa02e873ff51a11ee02b9ca391807f0c8ea0529a4924afa645fbf97163f9d4
|
||||
SIZE (google-snappy-1.1.7_GH0.tar.gz) = 1090550
|
||||
|
10
archivers/snappy/files/snappy.pc.in
Normal file
10
archivers/snappy/files/snappy.pc.in
Normal file
@ -0,0 +1,10 @@
|
||||
prefix=%%PREFIX%%
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: snappy
|
||||
Description: A fast compression/decompression library
|
||||
Version: %%PORTVERSION%%
|
||||
Libs: -L${libdir} -lsnappy
|
||||
Cflags: -I${includedir}
|
@ -2,15 +2,11 @@ include/snappy-c.h
|
||||
include/snappy-sinksource.h
|
||||
include/snappy-stubs-public.h
|
||||
include/snappy.h
|
||||
lib/libsnappy.a
|
||||
lib/cmake/Snappy/SnappyConfig.cmake
|
||||
lib/cmake/Snappy/SnappyConfigVersion.cmake
|
||||
lib/cmake/Snappy/SnappyTargets-%%CMAKE_BUILD_TYPE%%.cmake
|
||||
lib/cmake/Snappy/SnappyTargets.cmake
|
||||
lib/libsnappy.so
|
||||
lib/libsnappy.so.1
|
||||
lib/libsnappy.so.1.1.6
|
||||
lib/libsnappy.so.%%PORTVERSION%%
|
||||
libdata/pkgconfig/snappy.pc
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/format_description.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/framing_format.txt
|
||||
|
Loading…
Reference in New Issue
Block a user