cdrkit: new maintainer

This commit is contained in:
Juergen Daubert 2021-01-27 17:44:53 +01:00
parent 6ddb198ad4
commit 5576de9a52
2 changed files with 14 additions and 10 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/bjsXo206c+8Kh7FV2uhsyZty7pZNsT2am5oSYMKx1SvNp3CSVNqmemK+92lF/kQ2YzJI8TwGZ/JYci2yJb0wQQ=
SHA256 (Pkgfile) = a773a1c4b826d05faf8abf0a3651985619084dcbffdae16371f1002bfd00e634
RWSE3ohX2g5d/fnbxy80ItAAzTD3vCwSm4z+zpSs5Kqhv10iOxQmCDmMRpZ+UwBdcjBcoyrPK+H0F7FdtuarkrjC0sZqhfnI0wQ=
SHA256 (Pkgfile) = 5b8de69481e7073ab19f99e212632b3b94b19c140611ae48818d218be84df74f
SHA256 (.footprint) = 77f6cea25dd7d94bc541f287b93642c327b67f24ac416f3f8b6eadc54918ca8f
SHA256 (cdrkit-1.1.11.tar.gz) = d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da
SHA256 (cdrkit-1.1.9-efi-boot.patch) = fc9b45bde484bd83c7d34fd22a1d9699a997852b482502195c9e9c72a7b4abc8

View File

@ -1,7 +1,7 @@
# Description: A suite of programs for recording CDs and DVDs
# URL: https://en.wikipedia.org/wiki/Cdrkit
# Maintainer: Fredrik Rinnestam, fredrik at rinnestam dot se
# Depends on: file, cmake, libcap
# URL: https://en.wikipedia.org/wiki/Cdrkit
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: file cmake libcap
name=cdrkit
version=1.1.11
@ -10,9 +10,13 @@ source=(http://pkgs.fedoraproject.org/repo/pkgs/cdrkit/cdrkit-1.1.11.tar.gz/efe0
cdrkit-1.1.9-efi-boot.patch)
build () {
cd cdrkit-$version
patch -p1 -i $SRC/cdrkit-1.1.9-efi-boot.patch
CFLAGS="$CFLAGS -fcommon" \
cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=$PKG/usr -DMANSUBDIR=share/man
make install
patch -d $name-$version -p1 -i $SRC/cdrkit-1.1.9-efi-boot.patch
cmake -S $name-$version -B build \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -fcommon" \
-D CMAKE_INSTALL_PREFIX=/usr \
-D MANSUBDIR=share/man \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
}