enhance(main/abootimg): add abootimg-{un,}pack-initrd as well
Requested in termux/termux-packages#12609.
This commit is contained in:
parent
c6ff56f903
commit
fa30c4d4cb
|
@ -1,5 +1,5 @@
|
|||
--- ../abootimg-v0.6/Makefile 2011-07-14 21:13:25.000000000 +0200
|
||||
+++ ./Makefile 2022-10-27 21:48:21.460756923 +0200
|
||||
+++ ./Makefile 2022-10-28 21:46:26.988109133 +0200
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
-CPPFLAGS=-DHAS_BLKID
|
||||
|
@ -9,12 +9,14 @@
|
|||
LDLIBS=-lblkid
|
||||
|
||||
all: abootimg
|
||||
@@ -16,6 +16,9 @@
|
||||
@@ -16,6 +16,11 @@
|
||||
|
||||
abootimg.o: bootimg.h version.h
|
||||
|
||||
+install:
|
||||
+ install -Dm700 abootimg $(DESTDIR)$(PREFIX)/bin/
|
||||
+ install -Dm700 abootimg-pack-initrd $(DESTDIR)$(PREFIX)/bin/
|
||||
+ install -Dm700 abootimg-unpack-initrd $(DESTDIR)$(PREFIX)/bin/
|
||||
+
|
||||
clean:
|
||||
rm -f abootimg *.o version.h
|
||||
|
|
|
@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Pack or unpack android boot images"
|
|||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=0.6
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SRCURL=https://gitlab.com/ajs124/abootimg/-/archive/v${TERMUX_PKG_VERSION}/abootimg-v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=1dde5cadb8a14fccc677e5422d32c969a49c705daa03ce9b69af941247ff7cde
|
||||
TERMUX_PKG_DEPENDS="util-linux"
|
||||
|
|
Loading…
Reference in New Issue