| @@ -1,26 +1,30 @@ | | | @@ -1,26 +1,30 @@ |
1 | # $NetBSD: Makefile,v 1.1 2023/04/17 21:32:54 gutteridge Exp $ | | 1 | # $NetBSD: Makefile,v 1.2 2023/07/19 15:20:48 nia Exp $ |
2 | | | 2 | |
3 | DISTNAME= liburing-2.3 | | 3 | DISTNAME= liburing-2.3 |
4 | CATEGORIES= devel | | 4 | CATEGORIES= devel |
5 | MASTER_SITES= https://git.kernel.dk/cgit/liburing/snapshot/ | | 5 | MASTER_SITES= https://git.kernel.dk/cgit/liburing/snapshot/ |
6 | | | 6 | |
7 | MAINTAINER= als@thangorodrim.ch | | 7 | MAINTAINER= als@thangorodrim.ch |
8 | HOMEPAGE= https://git.kernel.dk/cgit/liburing/ | | 8 | HOMEPAGE= https://git.kernel.dk/cgit/liburing/ |
9 | COMMENT= Library for the Linux kernel io_uring interface | | 9 | COMMENT= Library for the Linux kernel io_uring interface |
10 | LICENSE= gnu-gpl-v2 | | 10 | LICENSE= gnu-gpl-v2 |
11 | | | 11 | |
12 | # The ./configure in the source is a handcrafted piece of shell | | 12 | # The ./configure in the source is a handcrafted piece of shell |
13 | HAS_CONFIGURE= YES | | 13 | HAS_CONFIGURE= YES |
14 | | | 14 | |
15 | USE_TOOLS+= gmake | | 15 | USE_TOOLS+= gmake |
| | | 16 | |
16 | USE_LANGUAGES= c c++ | | 17 | USE_LANGUAGES= c c++ |
17 | | | 18 | |
| | | 19 | # Uses stdatomic. |
| | | 20 | USE_CC_FEATURES+= c11 |
| | | 21 | |
18 | PKGCONFIG_OVERRIDE+= liburing.pc.in | | 22 | PKGCONFIG_OVERRIDE+= liburing.pc.in |
19 | | | 23 | |
20 | # Provides access to the Linux kernel io_uring interface | | 24 | # Provides access to the Linux kernel io_uring interface |
21 | ONLY_FOR_PLATFORM= Linux-*-* | | 25 | ONLY_FOR_PLATFORM= Linux-*-* |
22 | | | 26 | |
23 | do-build: | | 27 | do-build: |
24 | ${RUN} cd ${WRKSRC}/ && ./configure --prefix=${PREFIX} && ${GMAKE} | | 28 | ${RUN} cd ${WRKSRC}/ && ./configure --prefix=${PREFIX} && ${GMAKE} |
25 | | | 29 | |
26 | .include "../../mk/bsd.pkg.mk" | | 30 | .include "../../mk/bsd.pkg.mk" |