diff options
-rw-r--r-- | main/smartmontools/APKBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/main/smartmontools/APKBUILD b/main/smartmontools/APKBUILD index 91990f52fe..2c65bc4661 100644 --- a/main/smartmontools/APKBUILD +++ b/main/smartmontools/APKBUILD @@ -6,16 +6,17 @@ pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives." url="http://smartmontools.sourceforge.net" arch="all" license="GPL" -depends= makedepends="linux-headers" subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz smartd.initd smartd.confd " +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$builddir" + ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -26,11 +27,14 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$builddir" + make DESTDIR="$pkgdir"/ install - install -Dm755 ../smartd.initd "$pkgdir"/etc/init.d/smartd - install -Dm644 ../smartd.confd "$pkgdir"/etc/conf.d/smartd + + install -Dm755 "$srcdir"/smartd.initd "$pkgdir"/etc/init.d/smartd + install -Dm644 "$srcdir"/smartd.confd "$pkgdir"/etc/conf.d/smartd } + md5sums="093aeec3f8f39fa9a37593c4012d3156 smartmontools-6.5.tar.gz b646176ec1b5b1eb7175b39cbef1be2f smartd.initd 371cdb7cc9dc924b6d12224d66b193c6 smartd.confd" |