[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
howtos:misc:anatomy_of_a_slackbuild [2019/12/28 11:17 (UTC)] – [Anatomy Of a Slackbuild] captain_sensiblehowtos:misc:anatomy_of_a_slackbuild [2019/12/28 11:19 (UTC)] – [Anatomy Of a Slackbuild] captain_sensible
Line 299: Line 299:
    
 $PKG equates to /tmp/SBo/package-latex2html $PKG equates to /tmp/SBo/package-latex2html
 +
 +Next Block of code:\\
 +
 +<code>
 +
 +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
 +  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
 +
 +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
 +cp -a \
 + FAQ INSTALL LICENSE MANIFEST README.md TODO  \
 +  $PKG/usr/doc/$PRGNAM-$VERSION
 +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
 +cp $CWD/manual.pdf  $PKG/usr/doc/$PRGNAM-$VERSION
 +
 +mkdir -p $PKG/install
 +cat $CWD/slack-desc > $PKG/install/slack-desc
 +
 +cd $PKG
 +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
 +
 +</code>
  
  --- //[[wiki:user:captain_sensible|andy brookes]] 2019/12/12 20:43 (UTC)//If you teach maths it doesn't stop you  embedding a little English.    --- //[[wiki:user:captain_sensible|andy brookes]] 2019/12/12 20:43 (UTC)//If you teach maths it doesn't stop you  embedding a little English.  
 howtos:misc:anatomy_of_a_slackbuild ()