1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

New port: math/wavelib: Wavelet Transform (DWT, SWT and MODWT)

This commit is contained in:
Yuri Victorovich 2019-12-13 01:57:26 +00:00
parent 5de3a61735
commit 4fa62d340c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519959
6 changed files with 65 additions and 0 deletions

View File

@ -889,6 +889,7 @@
SUBDIR += vowpal_wabbit
SUBDIR += vtk6
SUBDIR += vtk8
SUBDIR += wavelib
SUBDIR += wcalc
SUBDIR += wfmath
SUBDIR += why3

34
math/wavelib/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $FreeBSD$
PORTNAME= wavelib
DISTVERSION= g20191022
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Wavelet Transform (DWT, SWT and MODWT)
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
USES= cmake dos2unix
DOS2UNIX_FILES= auxiliary/CMakeLists.txt
USE_GITHUB= yes
GH_ACCOUNT= rafat
GH_TAGNAME= cef10c1
USE_LDCONFIG= yes
CMAKE_OFF= BUILD_UT
PLIST_FILES= include/wavelib/waux.h \
include/wavelib/wauxlib.h \
include/wavelib/wavelib.h \
lib/libwavelib.so
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/Bin/Release/libwavelib.so ${STAGEDIR}${PREFIX}/lib
${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/header/wavelib.h ${STAGEDIR}${PREFIX}/include/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/header/wauxlib.h ${STAGEDIR}${PREFIX}/include/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/auxiliary/waux.h ${STAGEDIR}${PREFIX}/include/${PORTNAME}
.include <bsd.port.mk>

3
math/wavelib/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1576200421
SHA256 (rafat-wavelib-g20191022-cef10c1_GH0.tar.gz) = 8939f66b27085630e3d7eedc12d2ea8e30ac5746c65f4aad1d86c28330db78ff
SIZE (rafat-wavelib-g20191022-cef10c1_GH0.tar.gz) = 1068574

View File

@ -0,0 +1,11 @@
--- auxiliary/CMakeLists.txt.orig 2019-12-13 01:42:42 UTC
+++ auxiliary/CMakeLists.txt
@@ -6,7 +6,7 @@ set(SOURCE_FILES denoise.c
set(HEADER_FILES waux.h)
-add_library(wauxlib STATIC ${SOURCE_FILES} ${HEADER_FILES})
+add_library(wauxlib SHARED ${SOURCE_FILES} ${HEADER_FILES})
target_link_libraries(wauxlib wavelib)

View File

@ -0,0 +1,11 @@
--- src/CMakeLists.txt.orig 2019-12-13 01:34:45 UTC
+++ src/CMakeLists.txt
@@ -23,7 +23,7 @@ set(HEADER_FILES conv.h
wtmath.h
)
-add_library(wavelib STATIC ${SOURCE_FILES} ${HEADER_FILES})
+add_library(wavelib SHARED ${SOURCE_FILES} ${HEADER_FILES})
set_property(TARGET wavelib PROPERTY FOLDER "lib")

5
math/wavelib/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
C Implementation of Discrete Wavelet Transform (DWT,SWT and MODWT), Continuous
Wavelet transform (CWT) and Discrete Packet Transform (Full Tree Decomposition
and Best Basis DWPT).
WWW: https://github.com/rafat/wavelib