summaryrefslogtreecommitdiffstats
path: root/core/modules/smbclient/module.build
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/smbclient/module.build')
-rw-r--r--core/modules/smbclient/module.build21
1 files changed, 21 insertions, 0 deletions
diff --git a/core/modules/smbclient/module.build b/core/modules/smbclient/module.build
new file mode 100644
index 00000000..ec2c80fe
--- /dev/null
+++ b/core/modules/smbclient/module.build
@@ -0,0 +1,21 @@
+fetch_source() {
+ :
+}
+
+build() {
+ COPYLIST="list_dpkg_output"
+ [ -e "$COPYLIST" ] && rm "$COPYLIST"
+
+ list_packet_files >> "$COPYLIST"
+ tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}"
+
+ mkdir -p "${MODULE_BUILD_DIR}/usr/lib/cups/backend" || perror "Could not create '${MODULE_BUILD_DIR}/usr/lib/cups/backend'"
+ local BIN_LOCATION="$(which smbspool)"
+ if [ ! -z "${BIN_LOCATION}" -a -e "${BIN_LOCATION}" ]; then
+ ln -sf "${BIN_LOCATION}" "${MODULE_BUILD_DIR}/usr/lib/cups/backend/smb"
+ fi
+}
+
+post_copy() {
+ :
+}