Skip to content
Snippets Groups Projects
Commit c904eb52 authored by Leo's avatar Leo
Browse files

community/libnfs: modernize

parent a12f8640
No related branches found
No related tags found
No related merge requests found
...@@ -16,13 +16,11 @@ source="https://github.com/sahlberg/libnfs/archive/libnfs-$pkgver.tar.gz ...@@ -16,13 +16,11 @@ source="https://github.com/sahlberg/libnfs/archive/libnfs-$pkgver.tar.gz
builddir="$srcdir"/libnfs-libnfs-$pkgver builddir="$srcdir"/libnfs-libnfs-$pkgver
prepare() { prepare() {
cd "$builddir"
default_prepare default_prepare
./bootstrap ./bootstrap
} }
build() { build() {
cd "$builddir"
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
...@@ -35,7 +33,6 @@ build() { ...@@ -35,7 +33,6 @@ build() {
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
rm -f "$pkgdir"/usr/lib/*.a rm -f "$pkgdir"/usr/lib/*.a
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment