milis/talimatname/genel/r/racket/talimat

35 lines
1.4 KiB
Plaintext
Raw Normal View History

2018-02-05 13:47:15 +01:00
# Tanım: LISP benzeri sağlam plt şema programlama dili
# Url: http://racket-lang.org
# Paketçi: milisarge
# Gerekler: gsfonts sqlite gtk3
# Grup: geliştirme
isim=racket
surum=6.12
devir=1
kaynak=(http://download.racket-lang.org/installers/${surum}/${isim}-${surum}-src.tgz)
derle() {
2018-02-18 02:07:53 +01:00
cd "$SRC/${isim}-${surum}"
2018-02-05 13:47:15 +01:00
echo "Icon=drracket" >> share/pkgs/drracket/drracket/drracket.desktop
2018-02-18 02:07:53 +01:00
cd "$SRC/${isim}-${surum}/src"
export CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fPIC -Wall -pthread"
export "LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -pthread"
2018-02-18 02:16:17 +01:00
./configure --prefix=/usr --sysconfdir=/etc --disable-strip
make
2018-02-18 02:07:53 +01:00
cd "$SRC/${isim}-${surum}/src"
make DESTDIR=${PKG} install
2018-02-05 13:47:15 +01:00
install -Dm644 COPYING-libscheme.txt "${PKG}/usr/share/licenses/${isim}/LICENSE"
install -Dm644 ../share/pkgs/drracket/drracket/drracket.desktop "${PKG}/usr/share/applications/drracket.desktop"
install -d "${PKG}"/usr/share/icons/hicolor/{16x16,32x32,48x48,256x256}/apps
ln -s /usr/share/racket/pkgs/icons/plt-16x16.png "${PKG}/usr/share/icons/hicolor/16x16/apps/drracket.png"
ln -s /usr/share/racket/pkgs/icons/plt-32x32.png "${PKG}/usr/share/icons/hicolor/32x32/apps/drracket.png"
ln -s /usr/share/racket/pkgs/icons/plt-48x48.png "${PKG}/usr/share/icons/hicolor/48x48/apps/drracket.png"
ln -s /usr/share/racket/pkgs/icons/plt-logo-red-diffuse.png "${PKG}/usr/share/icons/hicolor/256x256/apps/drracket.png"
# sloppy
find "${PKG}/usr/share/doc/" -delete
}