diff options
author | Jérôme Poulin (TiCPU) <jeromepoulin@gmail.com> | 2007-05-27 20:20:04 +0000 |
---|---|---|
committer | Jérôme Poulin (TiCPU) <jeromepoulin@gmail.com> | 2007-05-27 20:20:04 +0000 |
commit | f4b7d0f4836ecb3e6309c6ed534cb0be38330d7a (patch) | |
tree | e41a79cdc0132897ffe8947d64d40da1dce158fc /sys-fs/cromfs | |
parent | sys-fs/cromfs: Updated to work with latest FUSE. (diff) | |
download | sunrise-reviewed-f4b7d0f4836ecb3e6309c6ed534cb0be38330d7a.tar.gz sunrise-reviewed-f4b7d0f4836ecb3e6309c6ed534cb0be38330d7a.tar.bz2 sunrise-reviewed-f4b7d0f4836ecb3e6309c6ed534cb0be38330d7a.zip |
sys-fs/cromfs: Version bump from Jakub's version.
svn path=/sunrise/; revision=3762
Diffstat (limited to 'sys-fs/cromfs')
-rw-r--r-- | sys-fs/cromfs/ChangeLog | 4 | ||||
-rw-r--r-- | sys-fs/cromfs/Manifest | 4 | ||||
-rw-r--r-- | sys-fs/cromfs/cromfs-1.2.5.ebuild | 43 |
3 files changed, 37 insertions, 14 deletions
diff --git a/sys-fs/cromfs/ChangeLog b/sys-fs/cromfs/ChangeLog index 78a534236..471817acb 100644 --- a/sys-fs/cromfs/ChangeLog +++ b/sys-fs/cromfs/ChangeLog @@ -3,6 +3,10 @@ # $Header: $ 27 May 2007; Jérôme Poulin (TiCPU) <jeromepoulin@gmail.com> + cromfs-1.2.5.ebuild: + Version bump from Jakub's version. + + 27 May 2007; Jérôme Poulin (TiCPU) <jeromepoulin@gmail.com> +cromfs-1.2.5.ebuild: Updated to work with latest FUSE. diff --git a/sys-fs/cromfs/Manifest b/sys-fs/cromfs/Manifest index 24cc8ada0..7ac3a3ebf 100644 --- a/sys-fs/cromfs/Manifest +++ b/sys-fs/cromfs/Manifest @@ -1,6 +1,6 @@ DIST cromfs-1.2.3.tar.bz2 127894 RMD160 bf66ef0d877f8c412506bec42b9bb7f6308dfd50 SHA1 002027f7955d9929c9e7b407e42e1b25ff3f21bd SHA256 1d83cbce1b51cb62e62943a58e36260569e16a639ab7d7bba1ee049648fd3ddb DIST cromfs-1.2.5.tar.bz2 407660 RMD160 05dc75e9cbd843fe6ee596dfdaba015a5b97089d SHA1 e7b3914cec4aa62eb0f59f2c756e92633423f2f6 SHA256 475d655244443576f9de007774e0c73e03bd7367839551f366f6d5c53766cb30 EBUILD cromfs-1.2.3.ebuild 1226 RMD160 8fb671d3d722c8b4d9a6e3c165249f5d9f07ae9f SHA1 1713be4e0884859f5c26a22af9736009fdad5604 SHA256 117359bc3c6bcb2610a3c74d336e0467653d89e3b7ae18bf209783a02e7c0633 -EBUILD cromfs-1.2.5.ebuild 749 RMD160 b85ef03d1ac1de300eab377b42c47dfa22fc4a16 SHA1 cc05b35f03a175f227f2439ff80e6b89670fac5d SHA256 e517cf02ba9fa20cbc3588c2b2e24ddb0b8fbdce7a405738e5f6d21f2645aec0 -MISC ChangeLog 463 RMD160 f8c7c31995fd4f4c45befc5d7985d23c954ccd2d SHA1 825fe23dd6e777e40351a65e3883790a51dd0174 SHA256 e0a9c007f91408d3cc4cb350a5e7ff74c2edd28e0f769b49ef5b2d1670b88db8 +EBUILD cromfs-1.2.5.ebuild 1226 RMD160 8fb671d3d722c8b4d9a6e3c165249f5d9f07ae9f SHA1 1713be4e0884859f5c26a22af9736009fdad5604 SHA256 117359bc3c6bcb2610a3c74d336e0467653d89e3b7ae18bf209783a02e7c0633 +MISC ChangeLog 588 RMD160 fde96d9cdc4902657533d5b25472bf9151b55731 SHA1 50a4ee147d1e8fe1bc543895a76d37e8c7ddd6d2 SHA256 ea717df5b4659cd4d35ee9de0f850e9d21e54a8485011fa0ff8389d3bc27059c MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/sys-fs/cromfs/cromfs-1.2.5.ebuild b/sys-fs/cromfs/cromfs-1.2.5.ebuild index b1ef8a240..e2df2d0fd 100644 --- a/sys-fs/cromfs/cromfs-1.2.5.ebuild +++ b/sys-fs/cromfs/cromfs-1.2.5.ebuild @@ -2,11 +2,13 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -DESCRIPTION="Cromfs is a FUSE based compressed read-only filesystem for Linux." +inherit toolchain-funcs + +DESCRIPTION="a FUSE-based compressed read-only filesystem" HOMEPAGE="http://bisqwit.iki.fi/source/cromfs.html" SRC_URI="http://bisqwit.iki.fi/src/arch/${P}.tar.bz2" -LICENSE="GPL-1" +LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="static" @@ -14,18 +16,35 @@ IUSE="static" DEPEND=">=sys-fs/fuse-2.5.2" RDEPEND="${DEPEND}" +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e '/upx/d' -e '/strip/d' Makefile \ + || die "sed failed in Makefile" + for i in Makefile util/Makefile ; do + sed -i -e "/^CXXFLAGS +=/s:-O3::" \ + -e "/OPTIM +=/s:-O3::" ${i} \ + || die "sed failed in ${i}" + done + for i in Makefile.sets util/Makefile.sets ; do + sed -i -e "/^CC=/s:gcc:$(tc-getCC):" \ + -e "/^CPP=/s:g++:$(tc-getCPP):" \ + -e "/^CXX=/s:g++:$(tc-getCXX):" \ + -e "/^CPPFLAGS=/s:-pipe -g::" \ + -e "/^OPTIM/s:=.*:=${CXXFLAGS}:" \ + -e "/^LDFLAGS/s:=.*:+=:" ${i} \ + || die "sed failed in ${i}" + done +} + src_compile() { - sed -r -i -e '/- (upx|strip)/d' Makefile - emake -j1 + emake -j1 || die "emake failed" } src_install() { - exeinto /usr/bin - if use static; then - doexe cromfs-driver-static - fi - doexe cromfs-driver util/mkcromfs util/unmkcromfs util/cvcromfs - dodoc doc/*.txt doc/FORMAT doc/ChangeLog COPYING - insinto /usr/share/doc/${PF} - doins doc/*.html doc/*.png + use static && dobin cromfs-driver-static + dobin cromfs-driver util/{mkcromfs,unmkcromfs,cvcromfs} + + dodoc doc/*.txt doc/{FORMAT,ChangeLog} + dohtml doc/*.{html,png} } |