milis/talimatname/genel/splix/talimat

30 lines
670 B
Plaintext
Raw Normal View History

2017-06-10 16:54:35 +02:00
# Description: SPL (Samsung Printer Language) yazıcıları için cups sürücüleri
# URL: http://splix.ap2c.org/
# Packager: milisarge
# Depends on: cups jbigkit krb5 subversion ghostscript
name=splix
version=2.0.0
release=1
source=(splix-deviceID.patch)
build() {
2017-06-10 17:25:18 +02:00
cd $DERLEME_KAYNAKDIZIN
2017-06-10 16:54:35 +02:00
if [ ! -d $DERLEME_KAYNAKDIZIN/$name ];then
2017-06-10 17:24:03 +02:00
svn co http://svn.code.sf.net/p/splix/code/splix/
2017-06-10 16:54:35 +02:00
else
cd $DERLEME_KAYNAKDIZIN/$name
svn up
cd -
fi
cp -r $DERLEME_KAYNAKDIZIN/$name ${SRC}/$name
cd "${SRC}/${name}"
patch -Np1 -i ../splix-deviceID.patch
CXXFLAGS+=" -fno-strict-aliasing"
make drv
make all DRV_ONLY=1
make DESTDIR="$PKG" install DRV_ONLY=1
}