summaryrefslogtreecommitdiff
path: root/solaris/package/sol8-sparc/build
diff options
context:
space:
mode:
Diffstat (limited to 'solaris/package/sol8-sparc/build')
-rw-r--r--solaris/package/sol8-sparc/build18
1 files changed, 18 insertions, 0 deletions
diff --git a/solaris/package/sol8-sparc/build b/solaris/package/sol8-sparc/build
new file mode 100644
index 0000000..d7c6271
--- /dev/null
+++ b/solaris/package/sol8-sparc/build
@@ -0,0 +1,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}
+