diff options
Diffstat (limited to 'dev-libs/libucl')
-rw-r--r-- | dev-libs/libucl/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/libucl/libucl-0.8.1-r1.ebuild (renamed from dev-libs/libucl/libucl-0.8.1.ebuild) | 7 | ||||
-rw-r--r-- | dev-libs/libucl/libucl-9999.ebuild | 7 |
3 files changed, 12 insertions, 6 deletions
diff --git a/dev-libs/libucl/Manifest b/dev-libs/libucl/Manifest index 19fd855c5175..233f44313971 100644 --- a/dev-libs/libucl/Manifest +++ b/dev-libs/libucl/Manifest @@ -1,4 +1,4 @@ DIST libucl-0.8.1.tar.gz 2028394 BLAKE2B 18fda317b4b4aed3d6b72c599d191f141bf4722d1c08244deda9c5e77300e2bef7de029889a05d9b4573472928d9d49a797123ac392a4cdd3b690ac277ad673d SHA512 36a059561eadb2dd7253ca22ff56f6a0c6cdd28580e28451c0cf47e1aec321a2e1589fc83ccb2033346f2dbca31a7e6afa9666ea544a0c190b7f80ed0e9f45af -EBUILD libucl-0.8.1.ebuild 1090 BLAKE2B 2b90c1400c283d42860ee868b4373c7b36bbe79afc187bfb5dd94a4500cf68a2c12485731239e6ff1d75ebb741455a3dcf4a78f09f3de9335a7089e5461f9548 SHA512 167005e215f4ea4335f410cc0ca6c0c60212ad35162e06c8d0fb5cf4e6fdc4aae389458a952e48e04cfd8b3de9ea7cb5944d1639127d16a8e6651b8b0d27906c -EBUILD libucl-9999.ebuild 1090 BLAKE2B 2b90c1400c283d42860ee868b4373c7b36bbe79afc187bfb5dd94a4500cf68a2c12485731239e6ff1d75ebb741455a3dcf4a78f09f3de9335a7089e5461f9548 SHA512 167005e215f4ea4335f410cc0ca6c0c60212ad35162e06c8d0fb5cf4e6fdc4aae389458a952e48e04cfd8b3de9ea7cb5944d1639127d16a8e6651b8b0d27906c +EBUILD libucl-0.8.1-r1.ebuild 1185 BLAKE2B 3c2e9a61874b7dfa95764572619e8d6500a71fea3c6b6af7a77dc9eeebf5d4808e0c90e7c54c4197b8ac6fe75c9afc3e75976b188df498d8ba77f3abbf0d672a SHA512 18dc8023dcce33b585b18a8fb1e365fe84e9faa384a66b6a328a0fda493ba433578a013e2bdc81533be47822191b3f394fed5bd6b2a01e7300cb5cb695b4d7f2 +EBUILD libucl-9999.ebuild 1185 BLAKE2B 3c2e9a61874b7dfa95764572619e8d6500a71fea3c6b6af7a77dc9eeebf5d4808e0c90e7c54c4197b8ac6fe75c9afc3e75976b188df498d8ba77f3abbf0d672a SHA512 18dc8023dcce33b585b18a8fb1e365fe84e9faa384a66b6a328a0fda493ba433578a013e2bdc81533be47822191b3f394fed5bd6b2a01e7300cb5cb695b4d7f2 MISC metadata.xml 955 BLAKE2B 9bcc770371005f7b55c644a987e100572fc6c044ca38a862c817c1fd135864f1ffeb38b3a053a66bb1819ef0dd38f3a27432152779349f7b2af9528448ecfada SHA512 7742b29ef3cd909660e795a35859924f449dc18000ebdfc414e7620b9bf900112dde4ea053648b9490f45a56972a357c5a9645afcdc04211cfb4c3354fd1b8df diff --git a/dev-libs/libucl/libucl-0.8.1.ebuild b/dev-libs/libucl/libucl-0.8.1-r1.ebuild index a019e11cbc80..3a7e1f46c4f3 100644 --- a/dev-libs/libucl/libucl-0.8.1.ebuild +++ b/dev-libs/libucl/libucl-0.8.1-r1.ebuild @@ -19,7 +19,7 @@ fi LICENSE="BSD-2" SLOT="0" -IUSE="lua +regex sign urls +utils static" +IUSE="lua +regex sign urls +utils static-libs" DEPEND="!!dev-libs/ucl lua? ( >=dev-lang/lua-5.1:= ) @@ -53,5 +53,8 @@ src_install() { default DOCS+=( $(usex lua "doc/lua_api.md" "") ) einstalldocs - use static || find "${ED}" -name "*.la" -delete + if ! use static-libs; then + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || \ + die "error while deleting static library" + fi } diff --git a/dev-libs/libucl/libucl-9999.ebuild b/dev-libs/libucl/libucl-9999.ebuild index a019e11cbc80..3a7e1f46c4f3 100644 --- a/dev-libs/libucl/libucl-9999.ebuild +++ b/dev-libs/libucl/libucl-9999.ebuild @@ -19,7 +19,7 @@ fi LICENSE="BSD-2" SLOT="0" -IUSE="lua +regex sign urls +utils static" +IUSE="lua +regex sign urls +utils static-libs" DEPEND="!!dev-libs/ucl lua? ( >=dev-lang/lua-5.1:= ) @@ -53,5 +53,8 @@ src_install() { default DOCS+=( $(usex lua "doc/lua_api.md" "") ) einstalldocs - use static || find "${ED}" -name "*.la" -delete + if ! use static-libs; then + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || \ + die "error while deleting static library" + fi } |