2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Statik tip tanımlamalı programlama dilleri
|
2017-09-07 23:32:55 +02:00
|
|
|
|
# URL: http://www.ats-lang.org/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler:
|
2017-09-07 23:32:55 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=ats2-postiats
|
|
|
|
|
_isim=ATS2-Postiats
|
|
|
|
|
surum=0.3.6
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(https://downloads.sourceforge.net/project/ats2-lang/ats2-lang/ats2-postiats-$surum/ATS2-Postiats-$surum.tgz)
|
2017-09-07 23:32:55 +02:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd "${SRC}/${_name}-${surum}"
|
2017-09-07 23:32:55 +02:00
|
|
|
|
./autogen.sh
|
|
|
|
|
./configure --prefix=/usr
|
|
|
|
|
mkdir -p $PKG/usr/lib/ats2-postiats-0.3.6/bin/
|
|
|
|
|
make -j1 all
|
|
|
|
|
make DESTDIR="${PKG}" install
|
|
|
|
|
|
|
|
|
|
local profiled="${PKG}/etc/profile.d"
|
2017-10-28 14:10:23 +02:00
|
|
|
|
local patshome="/usr/lib/${isim}-${surum}"
|
2017-09-07 23:32:55 +02:00
|
|
|
|
mkdir -p "${profiled}"
|
2017-10-28 14:10:23 +02:00
|
|
|
|
echo "export PATSHOME=${patshome}" > "${profiled}/${isim}.sh"
|
|
|
|
|
echo "setenv PATSHOME ${patshome}" > "${profiled}/${isim}.csh"
|
|
|
|
|
chmod 0755 "${profiled}/${isim}.sh" "${profiled}/${isim}.csh"
|
2017-09-07 23:32:55 +02:00
|
|
|
|
}
|