File: pkg.sh.in

package info (click to toggle)
ted 2.16-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 13,944 kB
  • ctags: 20,273
  • sloc: ansic: 167,980; makefile: 12,518; sh: 263
file content (26 lines) | stat: -rw-r--r-- 410 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

set -e -u

DIR=`pwd`/pkgscratch
rm -rf $DIR
mkdir $DIR

PKGFILE=Ted_2.16_@PLATFORM@.pkg

tar xvf TedBindist.tar
cp ../Ted/Ted.static bin/Ted
chmod 755 bin/Ted
pkgmk -o -b . -f ./Ted.prototype -r . -d $DIR

#/usr/sbin/pkgchk -d $DIR Ted

pkgtrans -o -s $DIR `pwd`/$PKGFILE all

gzip < $PKGFILE > $PKGFILE.gz

ls -l $PKGFILE $PKGFILE.gz

#/usr/sbin/pkgchk -d $PKGFILE Ted

rm -rf $DIR Ted bin afm ind