Initial commit
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
# Exclude bpm archives
|
||||||
|
*.bpm
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
name: cups-browsed
|
||||||
|
description: Helper daemon to browse the network for remote CUPS queues and IPP network printers
|
||||||
|
version: 2.1.1
|
||||||
|
revision: 1
|
||||||
|
url: https://wiki.linuxfoundation.org/openprinting/cups-filters
|
||||||
|
license: Apache-2.0 WITH LLVM-exception
|
||||||
|
architecture: any
|
||||||
|
type: source
|
||||||
|
depends:
|
||||||
|
- avahi
|
||||||
|
- glib
|
||||||
|
- glibc
|
||||||
|
- libcups
|
||||||
|
- libcupsfilters
|
||||||
|
- libppd
|
||||||
|
downloads:
|
||||||
|
- url: https://github.com/OpenPrinting/cups-browsed/releases/download/${BPM_PKG_VERSION}/cups-browsed-${BPM_PKG_VERSION}.tar.xz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: d185169a74e6a5731b6bd74cba8d269f34e5c71cb71ef1841f2fa91637ba1d58
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
# This is the source.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 \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--sbindir=/usr/bin \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--with-rcdir=no \
|
||||||
|
--enable-auto-setup-driverless-only
|
||||||
|
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
|
||||||
|
|
||||||
|
# Fix file ownership
|
||||||
|
chgrp -R 209 "$BPM_OUTPUT"/etc/cups
|
||||||
|
|
||||||
|
# Install package license
|
||||||
|
install -Dm644 "$BPM_SOURCE"/{COPYING,NOTICE} -t "$BPM_OUTPUT"/usr/share/licenses/cups-browsed
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user