New package: ntfs2btrfs-20210923
This commit is contained in:
parent
e4c0066a74
commit
ef0b1ffbc5
|
@ -0,0 +1,23 @@
|
|||
From f97247434ecda2cd2c451da5c73c3af98dfaea35 Mon Sep 17 00:00:00 2001
|
||||
From: Mark Harmstone <mark@harmstone.com>
|
||||
Date: Thu, 7 Oct 2021 17:59:35 +0100
|
||||
Subject: [PATCH] CMakeLists.txt: use GNUInstallDirs to determine sbin location
|
||||
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index cfaa571..17ded78 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -89,5 +89,5 @@ else()
|
||||
target_compile_options(ntfs2btrfs PRIVATE -Wall -Wextra -Wno-address-of-packed-member -Wconversion -Wno-unknown-pragmas -Werror=pointer-arith)
|
||||
endif()
|
||||
|
||||
-install(TARGETS ntfs2btrfs DESTINATION sbin)
|
||||
+install(TARGETS ntfs2btrfs DESTINATION ${CMAKE_INSTALL_SBINDIR})
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ntfs2btrfs.8 DESTINATION ${CMAKE_INSTALL_MANDIR}/man8)
|
||||
--
|
||||
2.33.0
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
# Template file for 'ntfs2btrfs'
|
||||
pkgname=ntfs2btrfs
|
||||
version=20210923
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DCMAKE_INSTALL_SBINDIR=bin"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="fmt-devel zlib-devel lzo-devel libzstd-devel"
|
||||
short_desc="Filesystem converter for Microsoft's NTFS"
|
||||
maintainer="Foxlet <foxlet@furcode.co>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="https://github.com/maharmstone/ntfs2btrfs"
|
||||
distfiles="https://github.com/maharmstone/ntfs2btrfs/archive/${version}.tar.gz"
|
||||
checksum=e07cc1cad634d59e58111bf993683f02a7504913fac1ef8dd33fd06ebf9140c1
|
Loading…
Reference in New Issue