diff options
Diffstat (limited to 'source/l/babl/babl.SlackBuild')
-rwxr-xr-x | source/l/babl/babl.SlackBuild | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/source/l/babl/babl.SlackBuild b/source/l/babl/babl.SlackBuild index 3f5e6c5d..5f87a951 100755 --- a/source/l/babl/babl.SlackBuild +++ b/source/l/babl/babl.SlackBuild @@ -70,15 +70,16 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# I'm not sure about --enable-sse CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/babl-$VERSION \ - --enable-mmx \ - --disable-sse \ --build=$ARCH-slackware-linux + # Trust defaults: + #--enable-mmx \ + #--disable-sse \ + #--enable-introspection \ make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG @@ -91,6 +92,14 @@ cp -a \ AUTHORS COPYING* INSTALL NEWS README* TODO \ $PKG/usr/doc/babl-$VERSION +# If there's a ChangeLog, installing at least part of the recent history +# is useful, but don't let it get totally out of control: +if [ -r ChangeLog ]; then + DOCSDIR=$(echo $PKG/usr/doc/*-$VERSION) + cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog + touch -r ChangeLog $DOCSDIR/ChangeLog +fi + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |