APKBUILD 827 B

1234567891011121314151617181920212223242526272829
  1. # Contributor: sick <sick@rape.lol>
  2. # Maintainer: sick <sick@rape.lol>
  3. pkgname=mdevd
  4. pkgver=0.0.1.0
  5. pkgrel=0
  6. pkgdesc="a small daemon managing kernel hotplug events, similarly to udevd"
  7. url="http://skarnet.org/software/mdevd/"
  8. arch="all"
  9. license="ISC"
  10. depends="skalibs"
  11. makedepends="$depends-dev"
  12. subpackages=""
  13. source="http://skarnet.org/software/mdevd/$pkgname-$pkgver.tar.gz"
  14. builddir="$srcdir/$pkgname-$pkgver"
  15. build() {
  16. cd "$builddir"
  17. ./configure --enable-shared --enable-static --disable-allstatic --libdir=/usr/lib \
  18. --libexecdir=/lib/mdev --with-dynlib=/lib
  19. make || return 1
  20. }
  21. package() {
  22. cd "$builddir"
  23. make DESTDIR=$pkgdir install || return 1
  24. }
  25. sha512sums="22006b940cb3b191cb3a479379f42320470b24a3fa55071a592fa81366db164dd958cf4ff25c677193c3a71056fa5b62e8a7c7fbfd020f78478e5995652c2f5d mdevd-0.0.1.0.tar.gz"