File: pkgmaker.sh

package info (click to toggle)
syslog-ng 2.0.0-1etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 1,844 kB
  • ctags: 2,014
  • sloc: ansic: 9,125; xml: 2,125; sh: 1,210; yacc: 741; lex: 278; makefile: 191; awk: 94; python: 85; perl: 49
file content (10 lines) | stat: -rwxr-xr-x 266 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
. ../pkginfo
. ../rules.conf
FILENAME=${RUNPKGNAME}_${VERSION}_${ARCH}.pkg
pkgmk -o -r `pwd` -f ../prototype -d spool
pkgtrans -nos spool $FILENAME $PKG
mv -f /var/spool/pkg/$FILENAME ../../../
gzip --best -f ../../../$FILENAME
rm -rf /var/spool/pkg/$PKG