Skip to content

Commit

Permalink
dev-games/libsmacker: various fixups
Browse files Browse the repository at this point in the history
* Rename to _pN
* Style changes
* Drop static libs (.a) and libtool files (.la)

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Jan 22, 2021
1 parent c8434f4 commit 43641e2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev-games/libsmacker/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DIST libsmacker-1.1.1.tar.gz 27554 BLAKE2B d8735518d2e6c6dc2b03d5781fb7d58862ff59c7452e91eeea913c619ff4e22b9b01f5cc1512329a1678406f98844c09125caede1a963b0c690bfc8f6a60e367 SHA512 beeece71fe35a9d2554e082245f1f600e211f1431c2162c83d6bd1b378867f211f5687ad359ed5e035c0376cfa28a58651532f1dc58863fae8e0da4540283c33
DIST libsmacker-1.1.1_p35.tar.gz 27554 BLAKE2B d8735518d2e6c6dc2b03d5781fb7d58862ff59c7452e91eeea913c619ff4e22b9b01f5cc1512329a1678406f98844c09125caede1a963b0c690bfc8f6a60e367 SHA512 beeece71fe35a9d2554e082245f1f600e211f1431c2162c83d6bd1b378867f211f5687ad359ed5e035c0376cfa28a58651532f1dc58863fae8e0da4540283c33
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,22 @@ inherit autotools

DESCRIPTION="A cross-platform C library for decoding .smk Smacker Video files."
HOMEPAGE="http://libsmacker.sourceforge.net"
SRC_URI="https://sourceforge.net/projects/libsmacker/files/libsmacker-1.1/${P}r35.tar.gz/download -> ${P}.tar.gz"
SRC_URI="https://sourceforge.net/projects/libsmacker/files/libsmacker-$(ver_cut 1-2)/${P/_p/r}.tar.gz/download -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-$(ver_cut 1-3)"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"

src_prepare(){
src_prepare() {
default
eautoreconf
}

src_install() {
default

# No .la files or static libraries
find "${ED}" -name '*.la' -delete || die
find "${ED}" -name '*.a' -delete || die
}

0 comments on commit 43641e2

Please sign in to comment.