Created
May 20, 2012 14:19
-
-
Save Nikoli/2758286 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PN=mplayer2 | |
NAMESUF="${PN/mplayer/}" | |
sed -e "/^EXESUF/s,= \$_exesuf$,= ${NAMESUF}\$_exesuf," \ | |
-i configure || die | |
sed -e "\, -m 644 DOCS/man/en/mplayer,i\ mv DOCS/man/en/mplayer.1 DOCS/man/en/${PN}.1" \ | |
-e "\, -m 644 DOCS/man/\$(lang)/mplayer,i\ mv DOCS/man/\$(lang)/mplayer.1 DOCS/man/\$(lang)/${PN}.1" \ | |
-e "s/er.1/er${NAMESUF}.1/g" \ | |
-i Makefile || die | |
sed -e "s/mplayer/${PN}/" \ | |
-i TOOLS/midentify.sh || die |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment