blob: ba0054561f2b16660e7dfe5f86a40a47a4f36d99 (
plain)
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
|
kind: autotools
depends:
- foundation.bst
- python-cliapp.bst
- pcre-utils.bst
sources:
- kind: git
url: upstream:libapr
track: 1.5.1
ref: 10835ec9a2d8bb9f7b867d15f29984d29744f028
config:
configure-commands:
- ./buildconf
- |
./configure \
--prefix "%{prefix}" \
--disable-static \
--with-installbuilddir=/usr/share/apr-1/build
install-commands:
(>):
- |
# Install files required for apr-util
for file in find_apr.m4 apr_common.m4 install.sh gen-build.py \
get-version.sh config.guess config.sub
do
cp build/$file "%{install-root}/%{prefix}"/share/apr-1/build/"$file"
done
# Create a symlink in the build directory to the include directory
ln -sf /usr/include/apr-1 "%{install-root}/%{prefix}"/share/apr-1/build/
|