package flashmap, required for mosys, which is required for crosystem
This commit is contained in:
parent
19b6b7bbb4
commit
69f37092ea
29
packages/filesystem/flashmap/.gitignore
vendored
Normal file
29
packages/filesystem/flashmap/.gitignore
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
#since we have not changed upstream, and this is packaged don't keep the source files
|
||||
src/*
|
||||
!src/debian
|
||||
|
||||
#only include specific /debian files
|
||||
src/debian/*
|
||||
!src/debian/compat
|
||||
!src/debian/changelog
|
||||
!src/debian/control
|
||||
!src/debian/rules
|
||||
!src/debian/copyright
|
||||
!src/debian/docs
|
||||
!src/debian/watch
|
||||
!src/debian/source
|
||||
!src/debian/source/format
|
||||
|
||||
#generic packaging artifacts
|
||||
debhelper-build-stamp
|
||||
.debhelper
|
||||
*.deb
|
||||
*.dsc
|
||||
*.build
|
||||
*.buildinfo
|
||||
*.changes
|
||||
*.log
|
||||
*.substvars
|
||||
*.diff.gz
|
||||
*.upload
|
||||
*.debian.tar.xz
|
BIN
packages/filesystem/flashmap/flashmap_0.3.orig.tar.gz
Normal file
BIN
packages/filesystem/flashmap/flashmap_0.3.orig.tar.gz
Normal file
Binary file not shown.
34
packages/filesystem/flashmap/makefile
Normal file
34
packages/filesystem/flashmap/makefile
Normal file
@ -0,0 +1,34 @@
|
||||
#import all shared make vars
|
||||
PRAWNOS_ROOT := $(shell git rev-parse --show-toplevel)
|
||||
include $(PRAWNOS_ROOT)/scripts/common.mk
|
||||
|
||||
|
||||
VERSION := $(shell cd src/; dpkg-parsechangelog --show-field Version)
|
||||
|
||||
flashmap_$(VERSION)_armhf.deb:
|
||||
@echo Building $@
|
||||
cd src/; pdebuild --configfile $(PBUILDER_RC) \
|
||||
--buildresult .. \
|
||||
-- \
|
||||
--basetgz $(PBUILDER_CHROOT) \
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf *.upload
|
||||
rm -rf *.deb
|
||||
rm -rf *.changes
|
||||
rm -rf *.dsc
|
||||
rm -rf *.build
|
||||
rm -rf *.diff.gz
|
||||
rm -rf *.debian.tar.xz
|
||||
rm -rf *.buildinfo
|
||||
|
||||
.PHONY: upload
|
||||
upload:
|
||||
dput deb.prawnos.com *.changes
|
||||
|
||||
install:
|
||||
ifndef INSTALL_TARGET
|
||||
$(error INSTALL_TARGET is not set)
|
||||
endif
|
||||
cp flashmap_$(VERSION)_armhf.deb $(INSTALL_TARGET)
|
5
packages/filesystem/flashmap/src/debian/changelog
Normal file
5
packages/filesystem/flashmap/src/debian/changelog
Normal file
@ -0,0 +1,5 @@
|
||||
flashmap (0.3) stable; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Hal Emmerich <hal@halemmerich.com> Sun, 14 Jun 2020 15:12:07 -0500
|
1
packages/filesystem/flashmap/src/debian/compat
Normal file
1
packages/filesystem/flashmap/src/debian/compat
Normal file
@ -0,0 +1 @@
|
||||
10
|
22
packages/filesystem/flashmap/src/debian/control
Normal file
22
packages/filesystem/flashmap/src/debian/control
Normal file
@ -0,0 +1,22 @@
|
||||
Source: flashmap
|
||||
Priority: optional
|
||||
Maintainer: Hal Emmerich <hal@halemmerich.com>
|
||||
Uploaders: Hal Emmerich <hal@halemmerich.com>
|
||||
Build-Depends: debhelper (>= 10),
|
||||
clang,
|
||||
uuid-dev,
|
||||
meson,
|
||||
pkg-config,
|
||||
cmake,
|
||||
libcmocka-dev,
|
||||
cargo,
|
||||
lcov
|
||||
Standards-Version: 4.3.0
|
||||
Homepage: https://github.com/dhendrix/flashmap
|
||||
Vcs-Browser: https://github.com/dhendrix/flashmap
|
||||
Vcs-Git: https://github.com/dhendrix/flashmap
|
||||
|
||||
Package: flashmap
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: flashmap library for use with cros utils
|
24
packages/filesystem/flashmap/src/debian/copyright
Normal file
24
packages/filesystem/flashmap/src/debian/copyright
Normal file
@ -0,0 +1,24 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: xsecurelock
|
||||
Source: https://github.com/google/xsecurelock
|
||||
|
||||
Files: *
|
||||
Copyright: 2014-2019 Google Inc. All rights reserved.
|
||||
License: GPL-2+
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2020 Hal Emmerich <hal@halemmerich.com>
|
||||
License: GPL-2+
|
||||
|
||||
License: GPL-2+
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License version 2
|
||||
as published by the Free Software Foundation.
|
||||
.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this package. If not, see <https://www.gnu.org/licenses/>.
|
13
packages/filesystem/flashmap/src/debian/rules
Executable file
13
packages/filesystem/flashmap/src/debian/rules
Executable file
@ -0,0 +1,13 @@
|
||||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
|
||||
# Use already defined upstream version as DEB_VERSION_UPSTREAM.
|
||||
include /usr/share/dpkg/pkg-info.mk
|
||||
|
||||
export DH_VERBOSE=1
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_build:
|
||||
dh_auto_build -- all
|
Loading…
Reference in New Issue
Block a user