File: west-chamber-dkms.dkms

package info (click to toggle)
west-chamber 20100405+svn20111107.r124-12
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 508 kB
  • sloc: ansic: 1,679; makefile: 139; sh: 66
file content (29 lines) | stat: -rw-r--r-- 1,148 bytes parent folder | download
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
PACKAGE_VERSION="20100405+svn20111107.r124"

# Items below here should not have to change with each driver version

PACKAGE_NAME="west-chamber"

PSRC="/usr/src/${PACKAGE_NAME}-${PACKAGE_VERSION}"
PDEST="/var/lib/dkms/${PACKAGE_NAME}/${PACKAGE_VERSION}/build"
XTABLESDIR=`find /usr/src -maxdepth 1 -type d -name 'xtables-addons-*' -print | sort | tail -1`
XTABLESBUILDDIR=`find /var/lib/dkms/xtables-addons -maxdepth 1 -type d -name '*.*' -print | sort | tail -1`

KSRC="/lib/modules/$kernelver/build"

CLEAN="make -C ${KSRC} M=${PSRC}/extensions XA_ABSTOPSRCDIR=${PSRC} clean; rm -f ${PSRC}/extensions/compat_xtables.*"
MAKE="ln -s -f ${XTABLESDIR}/extensions/compat_xtables.c ${PSRC}/extensions; make -C ${KSRC} M=${PSRC}/extensions XA_ABSTOPSRCDIR=${PSRC} XTABLESDIR=${XTABLESDIR} modules ; find ${PSRC} -name 'xt_*.ko' -exec mv {} ${PDEST} \;"

BUILT_MODULE_LOCATION[0]=""
BUILT_MODULE_NAME[0]="xt_CUI"
DEST_MODULE_LOCATION[0]="/updates"

BUILT_MODULE_LOCATION[1]=""
BUILT_MODULE_NAME[1]="xt_ZHANG"
DEST_MODULE_LOCATION[1]="/updates"

BUILT_MODULE_LOCATION[2]=""
BUILT_MODULE_NAME[2]="xt_gfw"
DEST_MODULE_LOCATION[2]="/updates"

AUTOINSTALL=yes