app-crypt/msva-perl: clean up ebuild
authorkristianf <devnull@localhost>
Mon, 18 Nov 2013 20:35:04 +0000 (21:35 +0100)
committerkristianf <devnull@localhost>
Mon, 18 Nov 2013 20:35:04 +0000 (21:35 +0100)
app-crypt/msva-perl/Manifest
app-crypt/msva-perl/files/msva-perl-0.9.2-makefile-install-target.patch [deleted file]
app-crypt/msva-perl/msva-perl-0.9.2.ebuild

index 56b6629..d900f1d 100644 (file)
@@ -2,5 +2,5 @@ AUX 10-msva-perl.sh 232 SHA256 e3f5c2f548b82f939b2cc81721646e7456e0368b9d13743cf
 AUX msva-perl-0.9.2-makefile-install-target.patch 870 SHA256 0649b5b77ec4e8f1806e7a300bf5acdfb1abbd59576b6bd11a52caf09b12f795 SHA512 c0c9662ef432f8a417e922435dcee9f589c240fa90846c87ab9e511fabd4730ad59457bdb65c935124721f3a44f465dc5cc8e0ed8d8f79d2b4595de40d3faa6b WHIRLPOOL 11e64b2318b5c3fe060abbd3dadebab9cbde2f276f7651ffb66c19117a775ed5d498a2e6c6cdfeabbff79fc8002c9b96a94223884ab48a329f0e89c562d0a471
 AUX msva-perl-0.9.2-makefile-version.patch 462 SHA256 637aeaf956d54dafed2104b96d06332be191c7876f7c0e3ac4acd0dbb831beed SHA512 5a2213175f8ea07625257f1f2856ee58b4e67c61774b9a2a3e85f33bfa4fa79d39e872cd4e65c95754b1b63a31d7e76fda6c1393eb0ea3bbadd44f696d36ab4d WHIRLPOOL ad71b7d41911445093a603942d78e2d299caa73a24d091213a8292b66cf964e2780d646ba3f1aa5ad9c26d334506377deed7a9ad8ef7d4ec9799f603755cb04e
 DIST msva-perl_0.9.2.orig.tar.gz 56057 SHA256 8587fa07b02a6201a6af1e8f62184eca95d1c95b4076c676d93bed480c326756 SHA512 01dd60e1874dfd91dd486a78922fcb0a1bb6641d2c7089dd8ab1180bd1c535a767b7669370068b564aaed8c4ac4048d7e319428dacdef142373db956bd493eb3 WHIRLPOOL 437e3ce96a746d54d62e0892ea6fddfdd45905bf1bbba3fc25e46da58b840d5100c24cd2a326c5d2135ac3d4eec8872512537e351d7278b7501e645ff060d99a
-EBUILD msva-perl-0.9.2.ebuild 1155 SHA256 d109a22c15424de50fe7faf619bc3aab8c4516f1e335db4ec1b4e8a5fba7135a SHA512 a0ab585308d2fa6c4633060ebf5f72bccedbfd05a96f8ce67dd7e50c42757145c8baf2f35453de6bf9ff3787bd91512b896e791e7569e5a722650960b9c38371 WHIRLPOOL 33ab8afc6890941318a9487cfa4e1a7685512ad71ee8b203dc82c409e8b4d5ad89deae8d255ec8bad3449b164d40a27dc652eea9684aac8c7fa90973612bd228
+EBUILD msva-perl-0.9.2.ebuild 1271 SHA256 b4b6fb1f8bf6b66fe207bc25237754136682e93962cae814a54f4a054cf150fe SHA512 1538e3549a1146d041b0b5aeb4f341d14e87d785bd74eff2941cc85a89a1c88e44cf6ebd88b856af05133def125a65f22ecb51900378677ae6d8ef0be9fef8c8 WHIRLPOOL c4e5e3eb4b7c166f85f928ebfbaca4cb3bf2b72c45c77098f3f46bf5c5485011d96ee5c3edec4852e40d91b52b7d7878642d8141abb31478173c6190e1bc9990
 MISC metadata.xml 246 SHA256 0ab7dfffcac75c33281fdf9a790a53c5a0a213e0cb61e65c2bcb6a729a8b2577 SHA512 644c472165e557cfc57a3cf5a49942b3e90bec3070d5f22cf2df4613e389148b97fa3b0bccdc1aec01020c3dab75c21da8c563d8e31d52180cf22b8e8c730a3e WHIRLPOOL 40cd599973db13c38d1909e96ce6b1581db5e2f61882814d9073072542ecf952bf204b3c45c1471ede4d5aafa7ce3ad67fa4866404fd76ca6535961968207cd3
diff --git a/app-crypt/msva-perl/files/msva-perl-0.9.2-makefile-install-target.patch b/app-crypt/msva-perl/files/msva-perl-0.9.2-makefile-install-target.patch
deleted file mode 100644 (file)
index 7187017..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
---- /home/kristianf/Makefile   2013-09-22 21:35:20.000000000 +0200
-+++ Makefile   2013-09-22 21:53:14.000000000 +0200
-@@ -29,4 +29,14 @@
- debian-tag:
-       git tag -s msva-perl_debian/$(DEBIAN_VERSION) -m "tagging msva-perl debian packaging version $(DEBIAN_VERSION)"
-+install: all
-+      install -m 0444 -D Crypt/Monkeysphere/MSVA.pm ##PERL##/Crypt/Monkeysphere/MSVA.pm
-+      install -m 0444 Crypt/Monkeysphere/*.pm ##PERL##/Crypt/Monkeysphere
-+      install -m 0444 -D Crypt/Monkeysphere/MSVA/MarginalUI.pm ##PERL##/Crypt/Monkeysphere/MSVA/MarginalUI.pm
-+      install -m 0444 Crypt/Monkeysphere/MSVA/*.pm ##PERL##/Crypt/Monkeysphere/MSVA
-+      install -m 0444 -D Net/Server/MSVA.pm ##PERL##/Net/Server/MSVA.pm
-+      install -m 0555 -D msva-perl ${ED}/usr/bin/msva-perl
-+      install -m 0555 -D msva-query-agent ${ED}/usr/bin/msva-query-agent
-+
- .PHONY: upstream-tag debian-package debian-tag all clean
-+
index d05a921..96415ad 100644 (file)
@@ -32,16 +32,29 @@ RDEPEND="
        dev-perl/regexp-common
        "
 
-src_prepare() {
+src_prepare()
+{
        epatch "${FILESDIR}/${P}-makefile-version.patch"
        sed -i "s/##VERSION##/${PV}/" Makefile
-       epatch "${FILESDIR}/${P}-makefile-install-target.patch"
-       sed -i 's/##PERL##/${ED}usr\/local\/lib\/site_perl/' Makefile
 }
 
-src_install() {
-       mytargets="install doc=/usr/share/doc/${P}"
-       perl-module_src_install
+src_install()
+{
+       insinto ${SITE_LIB}/Crypt/Monkeysphere
+       insopts -m444
+       doins Crypt/Monkeysphere/*.pm
+       
+       insinto ${SITE_LIB}/Crypt/Monkeysphere/MSVA
+       doins Crypt/Monkeysphere/MSVA/*.pm
+       
+       insinto ${SITE_LIB}/Net/Server
+       doins Net/Server/MSVA.pm
+       
+       insinto /usr/bin
+       insopts -m555
+       doins msva-perl
+       doins msva-query-agent
+
        dodir "/etc/profile.d"
        insinto "/etc/profile.d"
        insopts -m755