summaryrefslogtreecommitdiffstats
path: root/core/modules/smbclient/module.build
blob: 98b9b8db30a0b6a7a060851369d7094951df4eb7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
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() {
	:
}