53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
-
-
+
+
+
|
if [ -d "${pkgdir}" ]; then
pkgfound='1'
fi
CFLAGS="${CFLAGS} -I${pkgdir}/include"
CPPFLAGS="${CPPFLAGS} -I${pkgdir}/include"
LDFLAGS="${LDFLAGS} -L${pkgdir}/lib"
export CFLAGS CPPFLAGS LDFLAGS
LDFLAGS="${LDFLAGS} -L${pkgdir}/lib -Wl,-rpath,${pkgdir}/lib"
PATH="${PATH}:${pkgdir}/bin"
export CFLAGS CPPFLAGS LDFLAGS PATH
if [ -d "${pkgconfigdir}" ]; then
PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:${pkgconfigdir}"
export PKG_CONFIG_PATH
fi
done
|