Lines 22-28
Link Here
|
22 |
|
22 |
|
23 |
S="${WORKDIR}/${MY_P}" |
23 |
S="${WORKDIR}/${MY_P}" |
24 |
|
24 |
|
25 |
pkg_setup() { |
25 |
src_unpack() { |
|
|
26 |
unpack ${A} |
27 |
cd ${S} |
28 |
gnuconfig_update |
29 |
|
26 |
# This is a list of the tools in the package. |
30 |
# This is a list of the tools in the package. |
27 |
# Some of the tools don't make proper use of CFLAGS, even though |
31 |
# Some of the tools don't make proper use of CFLAGS, even though |
28 |
# all of them seem to use autoconf. This needs to be fixed. |
32 |
# all of them seem to use autoconf. This needs to be fixed. |
Lines 51-63
Link Here
|
51 |
ALSA_TOOLS="${ALSA_TOOLS} sb16_csp" |
55 |
ALSA_TOOLS="${ALSA_TOOLS} sb16_csp" |
52 |
fi |
56 |
fi |
53 |
|
57 |
|
|
|
58 |
else |
59 |
|
60 |
# Removes non-existent tool names from our local $ALSA_TOOLS |
61 |
for TOOL_NAME in ${ALSA_TOOLS}; do |
62 |
|
63 |
if [ ! -d "${S}/${TOOL_NAME}" ]; then |
64 |
|
65 |
ALSA_TOOLS=${ALSA_TOOLS/${TOOL_NAME}/} |
66 |
|
67 |
ewarn |
68 |
ewarn "The tool \"${TOOL_NAME}\" in the ALSA_TOOLS environment variable" |
69 |
ewarn "(usually set in /etc/make.conf) does not seem to exist" |
70 |
ewarn "in ${PF}. You should check the tool name syntax" |
71 |
ewarn "or remove it from the ALSA_TOOLS variable." |
72 |
ewarn |
73 |
|
74 |
fi |
75 |
|
76 |
done |
77 |
|
54 |
fi |
78 |
fi |
55 |
} |
|
|
56 |
|
79 |
|
57 |
src_unpack() { |
80 |
# Prints the tool names which will be built |
58 |
unpack ${A} |
81 |
einfo |
59 |
cd ${S} |
82 |
einfo "Tools which will be built: \"${ALSA_TOOLS}\"." |
60 |
gnuconfig_update |
83 |
einfo |
|
|
84 |
|
61 |
} |
85 |
} |
62 |
|
86 |
|
63 |
src_compile() { |
87 |
src_compile() { |