blob: d156e02c35a4b33aa81aaed38116b7388642d69d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/usr/bin/make -f
include ../source.mk
nop:
build:
(cd src && cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr \
-D STATIC_UBOX:BOOL=ON .)
oh-autobuild
touch $@
install: build
oh-autoinstall
mv dest/usr/bin/opkg-cl dest/usr/bin/opkg-lede
@# opkg-lede's CMake build system doesn't install these...
cp src/utils/opkg-key dest/usr/bin/opkg-key
sed 's|@opkglibdir@|/var/lib|g' src/utils/update-alternatives.in \
>dest/usr/bin/update-alternatives
oh-fixperms
oh-strip
oh-installfiles
oh-shlibdeps
|