diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-02-26 22:59:39 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-26 23:33:41 -0300 |
commit | ff0397431a530a0fa251bdf40ca9e640d2596da9 (patch) | |
tree | d6f478c56597a01e4f476b7e1c81affbeedaffc2 | |
parent | b81a0820a76264e5c2794491d3feeda6914d8cdd (diff) | |
download | aports-ff0397431a530a0fa251bdf40ca9e640d2596da9.tar.gz aports-ff0397431a530a0fa251bdf40ca9e640d2596da9.tar.bz2 aports-ff0397431a530a0fa251bdf40ca9e640d2596da9.tar.xz |
community/libmpeg2: modernize
-rw-r--r-- | community/libmpeg2/APKBUILD | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/community/libmpeg2/APKBUILD b/community/libmpeg2/APKBUILD index a2b6405414..4f2000442d 100644 --- a/community/libmpeg2/APKBUILD +++ b/community/libmpeg2/APKBUILD @@ -13,7 +13,6 @@ source="https://gentoo.osuosl.org/distfiles/libmpeg2-$pkgver.tar.gz arm-textrel.patch " -builddir="$srcdir/$pkgname-$pkgver" prepare() { update_config_sub @@ -21,7 +20,6 @@ prepare() { } build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -29,18 +27,16 @@ build() { --with-pic \ --enable-shared \ --disable-static - make OPT_CFLAGS="${CFLAGS}" \ - MPEG2DEC_CFLAGS="${CFLAGS}" \ + make OPT_CFLAGS="$CFLAGS" \ + MPEG2DEC_CFLAGS="$CFLAGS" \ LIBMPEG2_CFLAGS="" } check() { - cd "$builddir" make check } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } |