add dbus-glib for firefox
This commit is contained in:
parent
357b165cb1
commit
16a5b53b85
1 changed files with 36 additions and 0 deletions
36
gnome/dbus-glib/build.sh
Normal file
36
gnome/dbus-glib/build.sh
Normal file
|
@ -0,0 +1,36 @@
|
|||
pkgname=dbus-glib
|
||||
pkgver=0.112
|
||||
|
||||
fetch() {
|
||||
curl "https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz
|
||||
tar -xf $pkgname-$pkgver.tar.gz
|
||||
mkdir $pkgname-$pkgver/build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--build=$TRIPLE \
|
||||
--host=$TRIPLE
|
||||
|
||||
bad --gmake gmake
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
bad --gmake gmake install DESTDIR=$pkgdir
|
||||
rm -rf $pkgdir/etc
|
||||
rm -rf $pkgdir/usr/libexec
|
||||
rm -rf $pkgdir/usr/share/gtk-doc
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat COPYING
|
||||
}
|
||||
|
||||
backup() {
|
||||
return
|
||||
}
|
Loading…
Reference in a new issue