milis/talimatname/genel/s/splix/talimat

30 lines
659 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
2017-10-28 14:10:23 +02:00
isim=splix
surum=2.0.0
devir=1
kaynak=(splix-deviceID.patch)
2017-06-10 16:54:35 +02:00
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-10-28 14:10:23 +02:00
if [ ! -d $DERLEME_KAYNAKDIZIN/$isim ];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
2017-10-28 14:10:23 +02:00
cd $DERLEME_KAYNAKDIZIN/$isim
2017-06-10 16:54:35 +02:00
svn up
cd -
fi
2017-10-28 14:10:23 +02:00
cp -r $DERLEME_KAYNAKDIZIN/$isim ${SRC}/$isim
cd "${SRC}/${isim}"
2017-06-10 16:54:35 +02:00
patch -Np1 -i ../splix-deviceID.patch
CXXFLAGS+=" -fno-strict-aliasing"
make drv
make all DRV_ONLY=1
make DESTDIR="$PKG" install DRV_ONLY=1
}