-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage
More file actions
29 lines (27 loc) · 855 Bytes
/
Package
File metadata and controls
29 lines (27 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# A set of variables that define how we package this repository
#
plugin_name=usb4704
plugin_type=south
plugin_install_dirname=${plugin_name}
additional_libs="usr/lib:/usr/lib/libbiodaq.so,usr/lib:/usr/lib/libbiodaqutil.so,opt/advantech/libs:/opt/advantech/libs/libbiodaq.so,opt/advantech/libs:/opt/advantech/libs/libbiodaqutil.so"
# Now build up the runtime requirements list. This has 3 components
# 1. Generic packages we depend on in all architectures and package managers
# 2. Architecture specific packages we depend on
# 3. Package manager specific packages we depend on
requirements="fledge"
case "$arch" in
x86_64)
;;
armv7l)
;;
aarch64)
;;
esac
case "$package_manager" in
deb)
;;
rpm)
echo "RPM Package building for ${plugin_name} is not supported on $arch architecture!!"
exit 1
;;
esac