commit 21e7de93f9e341f3bbf058d9c474c55dc0c5607f Author: EnumDev Date: Wed Jul 29 10:07:05 2026 +0300 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9d96df7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +# Ignore BPM archives and signatures +*.bpm +*.bpm.sig diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..cd89e29 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +# Ignore this package +echo "ignore" diff --git a/info.yml b/info.yml new file mode 100644 index 0000000..36d6888 --- /dev/null +++ b/info.yml @@ -0,0 +1,17 @@ +name: libmpcdec +description: MusePack decoding library +version: 1.2.6 +revision: 1 +url: https://musepack.net/ +license: BSD-3-Clause +architecture: any +type: source +depends: + - glibc +make_depends: + - bzip2 +downloads: + - url: https://files.musepack.net/source/libmpcdec-${BPM_PKG_VERSION}.tar.bz2 + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 4bd54929a80850754f27b568d7891e1e3e1b8d2f208d371f27d1fda09e6f12a8 diff --git a/recipe.sh b/recipe.sh new file mode 100644 index 0000000..2c06ff2 --- /dev/null +++ b/recipe.sh @@ -0,0 +1,25 @@ +# This is the recipe.sh script. It is executed by BPM in a temporary directory when compiling a source package +# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE +# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT + +# The build function is executed in the source directory +# This function is used to compile the source code +build() { + ./configure --prefix=/usr + make +} + +# The check function is executed in the source directory +# This function is used to run tests to verify the package has been compiled correctly +check() { + make check +} + +# 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 + + # Install package license + install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/libmpcdec/COPYING +}