1 #############################################################
5 #############################################################
9 # Don't alter below this line unless you (think) you know
10 # what you are doing! Danger, Danger!
12 BOA_SOURCE
=boa-
$(BOA_VERSION
).
tar.gz
13 BOA_SITE
=http
://www.boa.org
/
14 BOA_DIR
=$(BUILD_DIR
)/${shell basename $(BOA_SOURCE
) .
tar.gz
}
15 BOA_WORKDIR
=$(BUILD_DIR
)/boa_workdir
17 $(DL_DIR
)/$(BOA_SOURCE
):
18 $(WGET
) -P
$(DL_DIR
) $(BOA_SITE
)/$(BOA_SOURCE
)
20 $(BOA_DIR
)/.unpacked
: $(DL_DIR
)/$(BOA_SOURCE
)
21 gzip
-d
-c
$(DL_DIR
)/$(BOA_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
22 touch
$(BOA_DIR
)/.unpacked
24 $(BOA_WORKDIR
)/Makefile
: $(BOA_DIR
)/.unpacked
25 rm -f
$(BOA_WORKDIR
)/Makefile
26 mkdir
-p
$(BOA_WORKDIR
)
27 (cd
$(BOA_WORKDIR
) && CONFIG_SITE
=$(SOURCE_DIR
)/boa-config.site-
$(ARCH
) \
28 CC
=$(TARGET_CC
) $(BOA_DIR
)/configure
)
29 touch
$(BOA_WORKDIR
)/.depend
31 $(BOA_WORKDIR
)/boa
$(BOA_WORKDIR
)/boa_indexer
: $(BOA_WORKDIR
)/Makefile
33 $(MAKE
) VPATH
=$(BOA_DIR
)/src
/ -C
$(BOA_WORKDIR
)
35 $(BOA_WORKDIR
)/.installed
: $(BOA_WORKDIR
)/boa
$(BOA_WORKDIR
)/boa_indexer
36 mkdir
-p
$(TARGET_DIR
)/usr
/sbin
37 cp
-f
$(BOA_WORKDIR
)/src
/boa
$(TARGET_DIR
)/usr
/sbin
/boa
38 mkdir
-p
$(TARGET_DIR
)/usr
/lib
/boa
39 cp
-f
$(BOA_WORKDIR
)/src
/boa_indexer
$(TARGET_DIR
)/usr
/lib
/boa
/boa_indexer
40 mkdir
-p
$(TARGET_DIR
)/etc
/boa
41 cp
-f
$(SOURCE_DIR
)/boa.conf
$(TARGET_DIR
)/etc
/boa
42 cp
-f
$(SOURCE_DIR
)/mime.types
$(TARGET_DIR
)/etc
/mime.types
43 strip --strip-all
$(TARGET_DIR
)/usr
/sbin
/boa
$(TARGET_DIR
)/usr
/lib
/boa
/boa_indexer
44 touch
$(BOA_WORKDIR
)/.installed
46 boa
: uclibc
$(BOA_WORKDIR
)/.installed
48 boa-source
: $(DL_DIR
)/$(BOA_SOURCE
)
51 @if
[ -d
$(BOA_WORKDIR
)/Makefile
] ; then \
52 $(MAKE
) -C
$(BOA_WORKDIR
) clean ; \
56 rm -rf
$(BOA_DIR
) $(BOA_WORKDIR
)
This page took 0.046793 seconds and 5 git commands to generate.