2017-09-04 17:09:53 +00:00
|
|
|
pkgname=libdsme
|
|
|
|
pkgver=0.60.30
|
2017-12-19 01:19:17 +00:00
|
|
|
pkgrel=2
|
2017-09-04 17:09:53 +00:00
|
|
|
pkgdesc="Libraries for programs that communicate with the Device State Management Entity"
|
|
|
|
arch="all"
|
2017-12-19 01:19:17 +00:00
|
|
|
url="https://github.com/maemo-leste/libdsme"
|
2017-09-04 17:09:53 +00:00
|
|
|
license="GPL"
|
|
|
|
depends="dbus glib"
|
|
|
|
depends_dev="glib-dev"
|
|
|
|
makedepends="bash glib-dev"
|
|
|
|
subpackages="$pkgname-dev"
|
2017-12-19 01:19:17 +00:00
|
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/maemo-leste/libdsme/archive/$pkgver.tar.gz"
|
2017-09-04 17:09:53 +00:00
|
|
|
|
2017-12-19 01:19:17 +00:00
|
|
|
_builddir="$srcdir/libdsme-$pkgver"
|
2017-09-04 17:09:53 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd "$_builddir"
|
|
|
|
sed -i -e "s|<sys/un.h>|<sys/uio.h>\n#include <sys/un.h>|g" ./protocol.c
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$_builddir"
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$_builddir"
|
|
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
}
|
2017-12-19 01:19:17 +00:00
|
|
|
sha512sums="4c8559b0267b03199deffcf7037bb76ba80d6143f01fb291052740e53e7fcf20bbdc700a65a40682a4fd346f33f14bd8628981ef260d27b63c83bd14b8b64624 libdsme-0.60.30.tar.gz"
|