nrpe: update to 4.1.3
[oi-userland.git] / components / sysutils / testdisk / Makefile
blob7bfac8f9e0b79381c2972e2615138eb51e97d584
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 2016 by Jim Klimov. All rights reserved.
22 # Copyright (c) 2019 Tim Mooney <Timothy.V.Mooney@gmail.com>
24 include ../../../make-rules/shared-macros.mk
26 COMPONENT_NAME= testdisk
27 COMPONENT_VERSION= 7.1
28 COMPONENT_REVISION= 1
29 COMPONENT_PROJECT_URL= https://www.cgsecurity.org/wiki/TestDisk
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
32 COMPONENT_ARCHIVE_HASH= sha256:1413c47569e48c5b22653b943d48136cb228abcbd6f03da109c4df63382190fe
33 COMPONENT_ARCHIVE_URL= https://www.cgsecurity.org/$(COMPONENT_ARCHIVE)
35 include $(WS_MAKE_RULES)/common.mk
37 # build with the distribution default libjpeg
38 CFLAGS += $(JPEG_CPPFLAGS) $(JPEG_CFLAGS)
39 CXXFLAGS += $(JPEG_CPPFLAGS) $(JPEG_CXXFLAGS)
40 LDFLAGS += $(JPEG_LDFLAGS)
42 QT5_ROOT=/usr/lib/qt/5.15
43 PATH=$(PATH.gnu):$(QT5_BINDIR)
44 PKG_CONFIG_PATH=$(PKG_CONFIG_PATH.$(BITS)):$(QT5_PKG_CONFIG_PATH)
45 LD_OPTIONS += -L$(QT5_LIBDIR) -R$(QT5_LIBDIR)
47 CONFIGURE_OPTIONS += --enable-qt
49 # Auto-generated dependencies
50 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
51 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
52 REQUIRED_PACKAGES += $(JPEG_IMPLEM_PKG)
53 REQUIRED_PACKAGES += library/ncurses
54 REQUIRED_PACKAGES += library/qt5
55 REQUIRED_PACKAGES += library/zlib
56 REQUIRED_PACKAGES += system/file-system/ntfsprogs
57 REQUIRED_PACKAGES += system/library
58 REQUIRED_PACKAGES += sysutils/e2fsprogs