File: makedeb

package info (click to toggle)
task-spooler 1.0.3%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 364 kB
  • sloc: ansic: 4,291; sh: 149; makefile: 105
file content (18 lines) | stat: -rwxr-xr-x 328 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# This should create a debian package. First try. Never done before!

version=0.5.4

make install PREFIX=deb/usr
cd deb

# data.tar.gz
tar c --owner root --group root -v -z -f pkg/data.tar.gz usr

# control.tar.gz
find usr/  -type f | xargs md5sum > pkg/DEBIAN/md5sums

dpkg -b pkg

mv pkg.deb ts_${version}_i386.deb