Skip to content

Commit

Permalink
media-libs/libcaca: Remove empty directories when java is not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperHeron committed Apr 17, 2012
1 parent d62fd63 commit c06b59d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/media-libs/libcaca/libcaca-0.99_beta18.exheres-0
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,11 @@ PLATFORMS="~amd64"

WORK="${WORKBASE}/${MY_PNV}"

src_install() {
default
if option !java; then
edo rmdir "${IMAGE}"/usr/"${LIBDIR}"/jni
edo rmdir "${IMAGE}"/usr/share/java
fi
}

0 comments on commit c06b59d

Please sign in to comment.