milis/talimatname/genel/s/splix/talimat

30 lines
663 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: SPL (Samsung Printer Language) yazıcıları için cups sürücüleri
2017-06-10 16:54:35 +02:00
# URL: http://splix.ap2c.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: cups jbigkit krb5 subversion ghostscript
2017-06-10 16:54:35 +02:00
name=splix
version=2.0.0
release=1
source=(splix-deviceID.patch)
2017-10-27 23:59:41 +02:00
derle() {
2017-06-10 16:54:35 +02:00
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
}