2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: p2p merkezi olmayan arama motoru
|
2016-04-14 10:00:30 +02:00
|
|
|
|
# URL: http://yacy.net/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge@gmail.com
|
|
|
|
|
# Gerekler: openjdk apache-ant
|
2016-04-14 10:00:30 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=yacy
|
2018-01-21 15:37:11 +01:00
|
|
|
|
surum=1.92
|
|
|
|
|
_surum=20161226_9000
|
2017-10-28 14:10:23 +02:00
|
|
|
|
devir=1
|
2016-04-14 10:00:30 +02:00
|
|
|
|
|
2018-01-21 15:37:11 +01:00
|
|
|
|
kaynak=("http://www.yacy.net/release/yacy_v${surum}_${_surum}.tar.gz"
|
2016-04-14 10:32:12 +02:00
|
|
|
|
yacy.rc)
|
2016-04-14 10:00:30 +02:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2018-01-21 15:37:11 +01:00
|
|
|
|
export JAVA_HOME=/opt/jdk
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd "$SRC/$isim"
|
2018-01-21 15:37:11 +01:00
|
|
|
|
/opt/ant/bin/ant all
|
|
|
|
|
/opt/ant/bin/ant installonlinux -DDESTDIR="$PKG/"
|
2016-04-14 10:00:30 +02:00
|
|
|
|
install -d "$PKG"/usr/share/java/yacy
|
|
|
|
|
install -t "$PKG"/usr/share/java/yacy/ lib/*.jar
|
|
|
|
|
|
|
|
|
|
install -Dm644 "${SRC}/yacy.rc" "${PKG}/etc/rc.d/init.d/yacy"
|
|
|
|
|
|
2016-04-14 10:32:12 +02:00
|
|
|
|
# ayar kısayol
|
2016-04-14 10:00:30 +02:00
|
|
|
|
ln -s /var/cache/yacy/DATA/SETTINGS/yacy.conf $PKG/etc/yacy/yacy.conf
|
|
|
|
|
|
2016-04-14 10:32:12 +02:00
|
|
|
|
# servis dosya
|
|
|
|
|
install -d $PKG/usr/bin
|
2017-10-28 14:10:23 +02:00
|
|
|
|
install -m 0750 $SRC/$isim/startYACY.sh $PKG/usr/bin/yacy-start
|
|
|
|
|
install -m 0750 $SRC/$isim/stopYACY.sh $PKG/usr/bin/yacy-stop
|
2016-04-14 10:00:30 +02:00
|
|
|
|
|
2016-04-14 10:32:12 +02:00
|
|
|
|
rm -f "$PKG"/usr/share/yacy/DATA "$PKG"/var/log/yacy
|
2016-04-14 10:00:30 +02:00
|
|
|
|
}
|