|
|
@ -33,7 +33,7 @@ |
|
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
PRGNAM=epson-inkjet-printer-escpr2 |
|
|
|
VERSION=${VERSION:-1.2.10} |
|
|
|
VERSION=${VERSION:-1.2.11} |
|
|
|
EXTRABIT=1 |
|
|
|
TARNAM=$PRGNAM-$VERSION-$EXTRABIT.tar.gz |
|
|
|
BUILD=${BUILD:-1} |
|
|
@ -99,7 +99,10 @@ find -L . \ |
|
|
|
-o -perm 511 \) -exec chmod 755 {} \; -o \ |
|
|
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ |
|
|
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; |
|
|
|
|
|
|
|
BUGFIXED=yes |
|
|
|
if [ x`objdump -f escprlib/lib/libescpr2_32.a |grep ^architecture |cut -d' ' -f-2 |sort -u|grep "x86-64"|wc -l` = "x1" ]; then |
|
|
|
BUGFIXED=no |
|
|
|
fi |
|
|
|
CFLAGS="$SLKCFLAGS" \ |
|
|
|
CXXFLAGS="$SLKCFLAGS" \ |
|
|
|
./configure \ |
|
|
@ -112,6 +115,7 @@ CXXFLAGS="$SLKCFLAGS" \ |
|
|
|
--disable-static \ |
|
|
|
--build=$ARCH-slackware-linux |
|
|
|
|
|
|
|
#make clean |
|
|
|
make |
|
|
|
make install DESTDIR=$PKG |
|
|
|
|
|
|
@ -132,3 +136,7 @@ cat $CWD/doinst.sh >$PKG/install/doinst.sh |
|
|
|
|
|
|
|
cd $PKG |
|
|
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |
|
|
|
#notice to maintainer |
|
|
|
if [ $BUGFIXED = "no" -a ARCH="i586" ]; then |
|
|
|
echo "epson hasn\'t fixed shipping \"source\" with a 64bit lib for 32bit install!" |
|
|
|
fi |