libraries/adns: Fix slack-desc, template comments.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
7b5222731d
commit
de0e93733f
|
@ -27,7 +27,6 @@ VERSION=${VERSION:-1.6.0}
|
|||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i586 ;;
|
||||
|
@ -82,13 +81,11 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
# Compile the application and install it into the $PKG directory
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
find $PKG -name \*\.a -type f -delete
|
||||
|
||||
# Copy program documentation into the package
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
COPYING GPL-vs-LGPL NEWS README TODO \
|
||||
|
@ -98,6 +95,5 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
|||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
# Make the package; be sure to leave it in $OUTPUT
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
adns: GNU adns (asynchronous DNS client library and utilities)
|
||||
adns: adns (asynchronous DNS client library and utilities)
|
||||
adns:
|
||||
adns: GNU adns is a C library that provides easy-to-use DNS resolution
|
||||
adns: functionality. The library is asynchronous, allowing several
|
||||
|
|
Loading…
Reference in New Issue