This commit is contained in:
Jakobus Schürz 2017-02-09 18:31:36 +01:00
parent ef4c12df6c
commit 0747101b43
10 changed files with 55 additions and 0 deletions

0
.builddeb Normal file
View file

42
Makefile Normal file
View file

@ -0,0 +1,42 @@
DIR=$(shell basename $(CURDIR))
VERSION=`gawk '$$1 == "Version:"{print $$2}' $(DIR)/DEBIAN/control`
ARCH=`gawk '$$1 == "Architecture:"{print $$2}' $(DIR)/DEBIAN/control`
COMMIT = $(shell date "+xe%Y%m%d_%H%M%S")
SUBDIRS := $(shell find $(DIR) -type d -print)
FILTER := $(abspath .git% %.deb .publish-git .builddeb %.swp Makefile)
FILTERORIG := $(abspath .git% %.deb .publish-git .builddeb %.swp Makefile) $(shell test -e noupdate.files && cat noupdate.files) /DEBIAN%
FILES := $(filter-out $(FILTER), $(abspath $(shell find . -mindepth 1 -type f -print) ))
ORIGS := $(filter-out $(FILTERORIG), $(realpath $(subst ./$(DIR),,$(shell sudo find . -mindepth 2 -type f -print))))
FILESGIT := $(filter-out $(abspath .git%), $(abspath $(shell find . -mindepth 1 -type f -print)))
#all: $(DIR)/DEBIAN/control
#$(DIR)/DEBIAN/control: $(FILES)
all: .builddeb
@#echo FILE $(FILESGIT)
.builddeb: $(FILES)
@#echo FILT $(FILTER)
@#echo FILE $(FILES)
@echo `gawk -f ../increment.awk $(DIR)/DEBIAN/control`
sed -e "s/^Version:.*/`gawk -f ../increment.awk $(DIR)/DEBIAN/control`/" $(DIR)/DEBIAN/control > $(DIR)/DEBIAN/control.tmp
mv $(DIR)/DEBIAN/control.tmp $(DIR)/DEBIAN/control
fakeroot dpkg-deb --build $(DIR) "$(DIR)_$(VERSION)_$(ARCH).deb"
ln -sf "$(DIR)_$(VERSION)_$(ARCH).deb" "$(DIR).deb"
aptly repo add xundeenergie "$(DIR)_$(VERSION)_$(ARCH).deb"
touch .builddeb
.update: $(ORIGS)
@#for i in $(ORIGS); do $$i;done
@echo "Copy originals to $(DIR)"
@for i in $(ORIGS); do sudo cp -uv $$i $(DIR)$$i;done
touch .update
.publish-git: $(FILESGIT)
fakeroot git add .
fakeroot git commit -m $(COMMIT) && git push origin master || exit 0
touch .publish-git

1
ricoh-sp100.deb Symbolic link
View file

@ -0,0 +1 @@
ricoh-sp100_0.1.2_all.deb

View file

@ -0,0 +1,12 @@
Package: ricoh-sp100
Version: 0.1.2
Section: cups
Priority: extra
Architecture: all
Maintainer: Jakobus Schürz <xundeenergie@gmail.com>
Homepage: http://github.com/xundeenergie/ricoh-sp100
Provides: ricoh-sp100
Depends: ghostscript, graphicsmagick-imagemagick-compat|imagemagick, jbigkit-bin
Recommends: inotify-tools
Description: Support for Ricoh SP100-Series
Supports Ricoh SP 100SNF and Ricoh SP 204SNF

BIN
ricoh-sp100_0.1.1_all.deb Normal file

Binary file not shown.

BIN
ricoh-sp100_0.1.2_all.deb Normal file

Binary file not shown.