Skip to content

Commit

Permalink
debian bits
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Feb 28, 2011
1 parent 5c5d727 commit d6c8c9c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
all: cb-iconmapper.deb

VERSION := $(shell git describe)

cb-iconmapper.deb: control Makefile
rm -rf fs-iconmapper
mkdir -p fs-iconmapper/DEBIAN/
cp control fs-iconmapper/DEBIAN/control
sed -i s/VERSION/${VERSION}/ fs-iconmapper/DEBIAN/control
mkdir -p fs-iconmapper/usr/bin
cp iconmapper fs-iconmapper/usr/bin/
fakeroot dpkg -b fs-iconmapper cb-iconmapper_${VERSION}_all.deb
ln -sf cb-iconmapper_${VERSION}_all.deb cb-iconmapper.deb

clean:
rm -rf fs-* cb-*.deb
6 changes: 6 additions & 0 deletions control
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Package: cb-iconmapper
Version: VERSION
Architecture: all
Maintainer: Shish <shish@civicboom.com>
Depends: python, python-imaging
Description: A tool to merge multiple images into one, with CSS to extract them

0 comments on commit d6c8c9c

Please sign in to comment.