diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-08 08:46:27 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-08 17:25:08 -0500 |
commit | a02a867b748f33769d3faffa594f4bda62af8108 (patch) | |
tree | b70c080d8bbeb9c11593709c0fd93f84f099c3e9 /libraries/cdk/cdk.SlackBuild | |
parent | ce1ae69a08d456f4c63f2ffd59899f4551069fee (diff) |
libraries/cdk: Miscellaneous cleanups and fixes.
Removed stale patch file; fixed doc dir and permissions.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/cdk/cdk.SlackBuild')
-rw-r--r-- | libraries/cdk/cdk.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/libraries/cdk/cdk.SlackBuild b/libraries/cdk/cdk.SlackBuild index cbb953ed0322e..c4e8c96a34b51 100644 --- a/libraries/cdk/cdk.SlackBuild +++ b/libraries/cdk/cdk.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=cdk VERSION=${VERSION:-5.0_20110517} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -56,6 +56,8 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ --mandir=/usr/man \ --with-ncursesw \ --with-x \ @@ -64,7 +66,7 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG +make install DESTDIR=$PKG DOCUMENT_DIR=$PKG/usr/doc/$PRGNAM-$VERSION find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -72,10 +74,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - CHANGES COPYING EXPANDING INSTALL NOTES README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION +# Fix permissions on this file. +chmod +x $PKG/usr/bin/cdk5-config + cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |