diff options
author | Sebastian | 2016-04-25 12:01:08 +0200 |
---|---|---|
committer | Sebastian | 2016-04-25 12:01:08 +0200 |
commit | 5acda3eaeabae9045609539303a8c12c4ce401f1 (patch) | |
tree | 7e71975f8570b05aafe2ea6ec0e242a8912387bb /core/modules/smbclient/module.build | |
parent | initial commit (diff) | |
download | mltk-5acda3eaeabae9045609539303a8c12c4ce401f1.tar.gz mltk-5acda3eaeabae9045609539303a8c12c4ce401f1.tar.xz mltk-5acda3eaeabae9045609539303a8c12c4ce401f1.zip |
merge with latest dev version
Diffstat (limited to 'core/modules/smbclient/module.build')
-rw-r--r-- | core/modules/smbclient/module.build | 21 |
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() { + : +} |