diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/syncdir |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/syncdir')
-rw-r--r-- | dev-libs/syncdir/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/syncdir/metadata.xml | 5 | ||||
-rw-r--r-- | dev-libs/syncdir/syncdir-1.0-r1.ebuild | 39 |
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/syncdir/Manifest b/dev-libs/syncdir/Manifest new file mode 100644 index 000000000000..b6e54dff9143 --- /dev/null +++ b/dev-libs/syncdir/Manifest @@ -0,0 +1,5 @@ +DIST syncdir-1.0.tar.gz 8878 SHA256 f30d8e0acb0e56dd5c8e90107d79fcaafe40bdc030a0ea66c152b9f54fc2eff0 SHA512 0b5262e23e43f34be7bc31ed6baf7624a115a509e459504651b184a0856c7918671db4be1b8e14552f275c49c5c6bbc00d786c57f1d96548a491048674f58317 WHIRLPOOL b82b06a6e3a179a6e32402b2b50fe1488159dde323011a5934cca80c1097ce54a869e888fa9734c643447a6ce1d3aec4acc545cdf9634e24218a3e762e37cc9b +EBUILD syncdir-1.0-r1.ebuild 834 SHA256 90787f32faa3a60e1f725e1fd44fe10e08ee18ebed885f87b152672235dbe4d8 SHA512 e263fa1e71a4519edf3c5312911707c4aeb09d7026063a563a744d2fc961cbafa0f167592ba785e2df33f2292897f435f4cf3f86aed9dcf685869f45621b2894 WHIRLPOOL aa8d8ddc598c1aeb6c5dae008b4719359ec141d645f05f8bc75639ace38a4ee254c40f8af3b86cac7ae51d44ee3191aac252e45018a321cec0bc12281b87bd7f +MISC ChangeLog 2524 SHA256 1709e9f6d4cbea9bf5bd91a08b25e1442db66712b6906f1514ec4cee09f0fdfe SHA512 2df1073d7aab6d7dd77d6e28b83300dfd166edb5996b22813556830a0e2a77977727951c14002b1ab42792d75d7c784a0afeb977bca2b7fa0963b58e71ef16a1 WHIRLPOOL 6bb6e71a4d7e62effc962dd8138f068b586654d4e7d47b110cbb8f5a1e7983295f132affb008f33f40df534dc20541cc975159645586cff0bea3b74382d9a15e +MISC ChangeLog-2015 1776 SHA256 96e8f77d82d4a9baeaf6f1e6837dfaf1bf607438727a621656da14ac5bf9fc32 SHA512 e41fa499737b0b65b06cfab701f7ffedbf315b34952003e855ac3010ecb68a134a7a91c2e8119024f99c32617594d58243a4b46c68a13f9943a48078342f25ac WHIRLPOOL 166c8397788dba49f1f431c3fef58febe411698d83ca0790732ae0e08f24cda43a1bc21800c2739c9a71c3d4c27354c0411c6dfb74c1a992e643a17f5763bb9d +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/dev-libs/syncdir/metadata.xml b/dev-libs/syncdir/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-libs/syncdir/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> diff --git a/dev-libs/syncdir/syncdir-1.0-r1.ebuild b/dev-libs/syncdir/syncdir-1.0-r1.ebuild new file mode 100644 index 000000000000..493e2e498c01 --- /dev/null +++ b/dev-libs/syncdir/syncdir-1.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit multilib toolchain-funcs + +DESCRIPTION="Provides an alternate implementation for open, link, rename, and unlink" +HOMEPAGE="http://untroubled.org/syncdir" +SRC_URI="http://untroubled.org/syncdir/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 x86" +IUSE="static-libs" + +src_prepare() { + if ! use static-libs; then + sed -i Makefile \ + -e '/^all:/s|libsyncdir.a||' \ + -e '/install -m 644 libsyncdir.a/d' \ + || die "sed Makefile" + fi +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + libsyncdir.so \ + $(use static-libs && echo libsyncdir.a) +} + +src_install() { + dodir /usr/$(get_libdir) + emake libdir="${D}/usr/$(get_libdir)" install + dodoc testsync.c +} |