blob: d7c627176026413dc73f900662b384ede3601c0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#! /bin/sh
/usr/bin/pkgmk -o
CUR_DIR=`pwd`
FILE=xmlstarlet
PKG=SFxmlstar
VERSION=`/usr/bin/pkgparam -d /var/spool/pkg SFxmlstar VERSION`
ARCH=`/usr/bin/pkgparam -d /var/spool/pkg SFxmlstar ARCH`
OS=sol8
BASE=local
FULL_FILE=${FILE}-${VERSION}-${OS}-${ARCH}-${BASE}
/usr/bin/pkgtrans -s /var/spool/pkg ${CUR_DIR}/${FULL_FILE} ${PKG}
/usr/bin/gzip ${FULL_FILE}
|