Support debian package creation.
This commit is contained in:
parent
7619be0708
commit
8dde00d8e5
7 changed files with 69 additions and 0 deletions
16
Makefile
16
Makefile
|
@ -7,3 +7,19 @@ run: imcat
|
|||
clean:
|
||||
rm -f ./imcat
|
||||
|
||||
install: imcat
|
||||
install -d ${DESTDIR}/usr/bin
|
||||
install -m 755 imcat ${DESTDIR}/usr/bin/
|
||||
|
||||
uninstall:
|
||||
sudo rm -f ${DESTDIR}/usr/bin/imcat
|
||||
|
||||
tarball:
|
||||
rm -f imcat_1.4.orig.tar.gz
|
||||
tar cvzf ../imcat_1.4.orig.tar.gz Makefile README.md stb_image.h imcat.c imcat.1 debian images
|
||||
|
||||
packageupload:
|
||||
debuild -S
|
||||
debsign ../imcat_1.4-1_source.changes
|
||||
dput ppa:b-stolk/ppa ../imcat_1.4-1_source.changes
|
||||
|
||||
|
|
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
imcat (1.4-1) kinetic; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Bram Stolk <bram.stolk@canonical.com> Wed, 07 Sep 2022 14:10:00 -0700
|
15
debian/control
vendored
Normal file
15
debian/control
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
Source: imcat
|
||||
Section: contrib/utils
|
||||
Priority: optional
|
||||
Maintainer: Bram Stolk <bram.stolk@canonical.com>
|
||||
Rules-Requires-Root: no
|
||||
Build-Depends:
|
||||
debhelper-compat (= 13)
|
||||
Standards-Version: 4.6.1
|
||||
Homepage: https://github.com/stolk/imcat
|
||||
|
||||
Package: imcat
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Shows images in a terminal.
|
||||
Shows images in a terminal console that supports 24 bit colour.
|
11
debian/copyright
vendored
Normal file
11
debian/copyright
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: imcat
|
||||
Upstream-Contact: Bram Stolk <b.stolk@gmail.com>
|
||||
Source: https://github.com/stolk/imcat
|
||||
|
||||
Files: *
|
||||
Copyright: 2021-2022 Bram Stolk <b.stolk@gmail.com>
|
||||
License: CC0-1.0
|
||||
|
||||
License: CC0-1.0
|
||||
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law.
|
1
debian/files
vendored
Normal file
1
debian/files
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
imcat_1.4-1_source.buildinfo contrib/utils optional
|
20
debian/rules
vendored
Executable file
20
debian/rules
vendored
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
# Output every command that modifies files on the build system.
|
||||
export DH_VERBOSE = 1
|
||||
|
||||
|
||||
# See FEATURE AREAS in dpkg-buildflags(1).
|
||||
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
|
||||
# See ENVIRONMENT in dpkg-buildflags(1).
|
||||
# Package maintainers to append CFLAGS.
|
||||
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
||||
# Package maintainers to append LDFLAGS.
|
||||
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
Loading…
Reference in a new issue