Initial commit

This commit is contained in:
2026-09-04 16:00:01 +03:00
commit a3060faff5
4 changed files with 60 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
# Ignore BPM archives and signatures
*.bpm
*.bpm.sig
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Gitea repository
REPO="libburnia/libisofs"
# Get version from tag name using Gitea Rest API
TAG_NAME=$(curl -s -L https://dev.lovelyhq.com/api/v1/repos/$REPO/tags/ | jq -r '.[0]'.name)
# Trim prefix
VERSION=${TAG_NAME//release-/}
echo "$VERSION"
+19
View File
@@ -0,0 +1,19 @@
name: libisofs
description: Library to pack up hard disk files and directories into a ISO 9660 disk image
version: 1.5.8.pl02
revision: 1
url: https://dev.lovelyhq.com/libburnia/libisofs
license: GPL-2.0-or-later
maintainers:
- [email protected]
architecture: any
type: source
depends:
- acl
- glibc
- zlib
downloads:
- url: https://dev.lovelyhq.com/libburnia/libisofs/archive/release-${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: c766fe1303dc349d0eab1c14f15533f5c9c2f5d6035a05baaf788983f9d517c3
+26
View File
@@ -0,0 +1,26 @@
# 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 prepare function is executed in the root of the temp directory
# This function is used for putting downloaded files to the correct location or applying patches
prepare() {
cd "$BPM_SOURCE"
autoreconf -fi
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
./configure --prefix=/usr --enable-libacl --enable-xattr --disable-static
make
}
# 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,COPYRIGHT} -t "$BPM_OUTPUT"/usr/share/licenses/libisofs/
}