summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-02 02:02:53 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-02 02:02:53 (EDT)
commitc43f5f39a0af753d9aa7af15360526d6a2171b5c (patch)
treeb262bdc32cc0de4ace7970a0a2140d24c1b818b5
parentc29c288d25896154ad9437ab03da166dbcee2557 (diff)
build: Build a second time with GPGME
-rwxr-xr-xbuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/build b/build
index e69add4..bcc0855 100755
--- a/build
+++ b/build
@@ -18,16 +18,26 @@ build-opkg:
oh-autobuild -B obj-opkg
touch $@
+build-opkg-gpg:
+ oh-autoconfigure -B obj-opkg-gpg -- \
+ $(common_opts) \
+ --enable-gpg
+ oh-autobuild -B obj-opkg-gpg
+ touch $@
+
build: build-opkg
install: build
oh-autoinstall -B obj-opkg
+ mv dest/usr/bin/opkg-cl dest/usr/bin/opkg
+ oh-autoinstall -B obj-opkg-gpg
+ mv dest/usr/bin/opkg-cl dest/usr/bin/opkg-gpg # Will be renamed later
rm -Rf dest/usr/include/ \
dest/usr/lib/$(OPK_HOST_ARCH)/pkgconfig/ \
dest/usr/lib/$(OPK_HOST_ARCH)/libopkg.a \
dest/usr/lib/$(OPK_HOST_ARCH)/libopkg.la
- mv dest/usr/bin/opkg-cl dest/usr/bin/opkg
mv dest/usr/share/man/man1/opkg-cl.1 dest/usr/share/man/man1/opkg.1
oh-fixperms
oh-strip -k
oh-installfiles
+ mv opkg-gpg.data/usr/bin/opkg-gpg opkg-gpg.data/usr/bin/opkg # See above