wok-next annotate connman/receipt @ rev 12758
fceux: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 12 10:59:26 2012 +0200 (2012-05-12) |
parents | 12f92c04ebeb |
children | d8e8e6421a2c |
rev | line source |
---|---|
slaxemulator@9315 | 1 # SliTaz package receipt. |
slaxemulator@9315 | 2 |
slaxemulator@9315 | 3 PACKAGE="connman" |
pascal@12633 | 4 VERSION="0.83" |
slaxemulator@9315 | 5 CATEGORY="network" |
slaxemulator@9315 | 6 SHORT_DESC="Daemon for managing internet connections" |
slaxemulator@9315 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@9315 | 8 DEPENDS="glib dbus iptables gnutls libnl udev wpa_supplicant" |
pascal@12639 | 9 BUILD_DEPENDS="glib-dev dbus-dev iptables iptables-dev gnutls-dev libnl-dev \ |
pascal@12639 | 10 openconnect udev-dev wpa_supplicant" |
pascal@12633 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
slaxemulator@9315 | 12 WEB_SITE="http://connman.net/" |
slaxemulator@9315 | 13 WGET_URL="http://www.kernel.org/pub/linux/network/$PACKAGE/$TARBALL" |
slaxemulator@9315 | 14 |
slaxemulator@9315 | 15 # Rules to configure and make the package. |
slaxemulator@9315 | 16 compile_rules() |
slaxemulator@9315 | 17 { |
slaxemulator@9315 | 18 cd $src |
slaxemulator@9315 | 19 ./configure \ |
slaxemulator@9315 | 20 --prefix=/usr \ |
slaxemulator@9315 | 21 --sysconfdir=/etc \ |
slaxemulator@9315 | 22 --localstatedir=/var \ |
slaxemulator@9315 | 23 --infodir=/usr/share/info \ |
slaxemulator@9315 | 24 --mandir=/usr/share/man \ |
slaxemulator@9315 | 25 --disable-gtk-doc \ |
slaxemulator@9315 | 26 --enable-ethernet \ |
slaxemulator@9315 | 27 --enable-wifi \ |
slaxemulator@9315 | 28 --enable-bluetooth \ |
slaxemulator@9315 | 29 --enable-hh2serial-gps \ |
slaxemulator@9315 | 30 --enable-ofono \ |
slaxemulator@9315 | 31 --disable-dhclient \ |
slaxemulator@9315 | 32 --enable-openconnect \ |
slaxemulator@9315 | 33 --disable-portal \ |
slaxemulator@9315 | 34 --enable-loopback \ |
slaxemulator@9315 | 35 --enable-dnsproxy \ |
slaxemulator@9315 | 36 --disable-google \ |
slaxemulator@9315 | 37 --disable-meego \ |
slaxemulator@9315 | 38 --disable-iwmx \ |
slaxemulator@9315 | 39 --enable-iospm \ |
slaxemulator@9315 | 40 --disable-ntpd \ |
slaxemulator@9315 | 41 --disable-polkit \ |
slaxemulator@9315 | 42 --enable-client \ |
slaxemulator@9315 | 43 --enable-tools \ |
slaxemulator@9315 | 44 --enable-test \ |
slaxemulator@9315 | 45 --disable-fake \ |
slaxemulator@9315 | 46 --disable-capng \ |
slaxemulator@9315 | 47 --enable-udev \ |
slaxemulator@9315 | 48 --enable-datafiles \ |
slaxemulator@9315 | 49 $CONFIGURE_ARGS && |
pascal@12633 | 50 make && make DESTDIR=$DESTDIR install |
slaxemulator@9315 | 51 } |
slaxemulator@9315 | 52 |
slaxemulator@9315 | 53 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9315 | 54 genpkg_rules() |
slaxemulator@9315 | 55 { |
slaxemulator@9315 | 56 # dbus conf |
slaxemulator@9315 | 57 mkdir -p $fs/etc |
slaxemulator@9315 | 58 cp -a $_pkg/etc/dbus-1 $fs/etc |
slaxemulator@9315 | 59 # conman exec |
slaxemulator@9315 | 60 mkdir -p $fs/usr/lib/connman/plugins |
slaxemulator@9315 | 61 cp -a $_pkg/usr/sbin $fs/usr |
slaxemulator@9315 | 62 # plugins |
slaxemulator@9315 | 63 for lib in dnsproxy ethernet hh2serial-gps iospm loopback openconnect |
slaxemulator@9315 | 64 do |
slaxemulator@9315 | 65 cp -a $_pkg/usr/lib/connman/plugins/${lib}.so $fs/usr/lib/connman/plugins |
slaxemulator@9315 | 66 done |
slaxemulator@9315 | 67 } |
slaxemulator@9315 | 68 |