TEXT   88
prototype
Guest on 6th July 2022 09:05:22 AM


  1. VERSION=1.2
  2. BUILD=1
  3.  
  4. PKGNAME="protopkg-$VERSION-noarch-$BUILD"
  5.  
  6. PROGNAME=protopkg
  7.  
  8. DESC="\
  9. protopkg is a packaging tool for Slackware Linux which automates to a large \n\
  10. degree the making of Slackware packages.  protopkg compiles and installs    \n\
  11. software according to instructions written in a prototype file, tracks the  \n\
  12. installation, and then automagically creates Slackware packages.            \n\
  13.                                                                             \n\
  14. protopkg is not a magic bullet.  You will still need to be very careful in  \n\
  15. constructing packages.  This just takes some of the work off your hands."
  16.  
  17. IGNOREPATH=/dev:/proc:/tmp:/export:/var:/home
  18.  
  19. STRIPBIN=n
  20. STRIPLIB=n
  21. SETATTR=y
  22.  
  23. MAINTAINER="David Cantrell <david@slackware.com>"
  24. SOURCE="ftp://ftp.slackware.com/pub/slackware/unsupported/protopkg/"
  25. LOCATION="ftp://ftp.slackware.com/pub/slackware/unsupported/packages/utils/"
  26.  
  27. compile() {
  28.  
  29.    gzip -dc $CWD/protopkg-$VERSION.tar.gz | tar xvf -
  30.  
  31.    cd protopkg-$VERSION
  32.  
  33.    ./Build
  34.  
  35. }
  36.  
  37. install() {
  38.  
  39.    cp protopkg /sbin/protopkg
  40.    cp protopkg.8 /usr/man/man8/protopkg.8
  41.  
  42.    mkdir -p /usr/doc/protopkg-$VERSION
  43.    cp AUTHORS ChangeLog README prototype.template rules.example \
  44.       /usr/doc/protopkg-$VERSION
  45.  
  46. }

Raw Paste

Login or Register to edit or fork this paste. It's free.