Update package version to 9.21.11

This commit is contained in:
2025-09-09 12:22:47 +03:00
parent 785f250d37
commit 0c59282bab
3 changed files with 20 additions and 16 deletions
+9 -14
View File
@@ -15,24 +15,19 @@ prepare() {
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--enable-fixed-rrset \
--enable-full-report \
--with-openssl \
--with-libidn2 \
--with-json-c \
--with-libxml2
make
mkdir build
cd build
meson setup --prefix=/usr
meson compile
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
make DESTDIR="$BPM_OUTPUT" install
cd build
meson install --destdir="$BPM_OUTPUT"
install -Dm644 LICENSE COPYRIGHT -t "$BPM_OUTPUT"/usr/share/licenses/bind/
install -Dm644 "$BPM_SOURCE"/{LICENSE,COPYRIGHT} -t "$BPM_OUTPUT"/usr/share/licenses/bind/
}