milis/talimatname/genel/b/bamf/talimat

27 lines
682 B
Plaintext
Raw Normal View History

2017-12-17 21:24:47 +01:00
# Tanım: Uygulama eşleme çerçevesi
# URL: https://launchpad.net/bamf
2017-12-22 23:19:06 +01:00
# Paketçi: CihanAlkan
2017-12-17 21:24:47 +01:00
# Gerekler: libgtop libwnck3 gobject-introspection python-lxml vala
2017-12-22 23:19:06 +01:00
# Grup: kütüphane
2017-12-17 21:24:47 +01:00
isim=bamf
surum=0.5.3
devir=1
kaynak=(https://launchpad.net/bamf/${surum%.*}/$surum/+download/bamf-$surum.tar.gz)
derle() {
cd $isim-$surum
export PYTHON='/usr/bin/python2'
export CFLAGS="$CFLAGS -Wno-deprecated-declarations"
./configure \
--prefix='/usr' \
--libexecdir='/usr/lib' \
--localstatedir='/var' \
--sysconfdir='/etc' \
--disable-static \
--disable-webapps
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
}