diff options
author | Sam James <sam@gentoo.org> | 2021-01-22 00:54:40 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-01-22 01:39:56 +0000 |
commit | 43641e27f87ff82f7cfa94d29b2cc6be4402e7fc (patch) | |
tree | 8c9a92e9699c71521750dbe3d6825b6448475c89 /dev-games | |
parent | dev-games/libsmacker: HOMEPAGE does not support HTTPS (diff) | |
download | gentoo-43641e27f87ff82f7cfa94d29b2cc6be4402e7fc.tar.gz gentoo-43641e27f87ff82f7cfa94d29b2cc6be4402e7fc.tar.bz2 gentoo-43641e27f87ff82f7cfa94d29b2cc6be4402e7fc.zip |
dev-games/libsmacker: various fixups
* 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 <sam@gentoo.org>
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/libsmacker/Manifest | 2 | ||||
-rw-r--r-- | dev-games/libsmacker/libsmacker-1.1.1_p35.ebuild (renamed from dev-games/libsmacker/libsmacker-1.1.1.ebuild) | 13 |
2 files changed, 12 insertions, 3 deletions
diff --git a/dev-games/libsmacker/Manifest b/dev-games/libsmacker/Manifest index 56413ec12bd4..b592a3102e2a 100644 --- a/dev-games/libsmacker/Manifest +++ b/dev-games/libsmacker/Manifest @@ -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 diff --git a/dev-games/libsmacker/libsmacker-1.1.1.ebuild b/dev-games/libsmacker/libsmacker-1.1.1_p35.ebuild index aaccb8e8dab0..2e8ee41e9c85 100644 --- a/dev-games/libsmacker/libsmacker-1.1.1.ebuild +++ b/dev-games/libsmacker/libsmacker-1.1.1_p35.ebuild @@ -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 +} |