Files
chromebrew/packages/crew_mvdir.rb
github-actions[bot] 46d5639699 AutoBuild: update-cmake started at 2025-05-06-15UTC (#11877)
* Cmake 4.0.1 => 4.0.2

* Adjust cmake build options to properly set LIBRARY_PATH.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust cmake build.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust cmake build options.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Remove 'mold -run' usage as that confuses LIBRARY_PATH overrides.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add built packages for linux/386 to update-cmake

* Add built packages for linux/amd64 to update-cmake

* Add built packages for linux/arm/v7 to update-cmake

* Confirm autotools change works with nano update.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add built packages for linux/386 to update-cmake

* Add built packages for linux/amd64 to update-cmake

* Add built packages for linux/arm/v7 to update-cmake

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Ed Reel <edreel@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
2025-05-06 17:40:47 +00:00

31 lines
1.0 KiB
Ruby

require 'package'
class Crew_mvdir < Package
description 'Faster alternative to "rsync --remove-source-files dir1/ dir2/"'
homepage 'https://github.com/chromebrew/crew-mvdir'
version '0.2-2' # Do not use @_ver here, it will break the installer.
license 'GPL-3'
compatibility 'all'
source_url 'https://github.com/chromebrew/crew-mvdir.git'
git_hashtag '0.2'
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'c6738e9eb4d6771c9349cbab24c5a0ff0802919e08931c979558bc0f2c33d719',
armv7l: 'c6738e9eb4d6771c9349cbab24c5a0ff0802919e08931c979558bc0f2c33d719',
i686: '94b576672248ce488bbc8c44f8ff83a5ef862264cd115ec5dea641d7ed2a740a',
x86_64: '7e8c79bded2e1c3d07c8d25c9773a9a8ecb23cd2e20169ff26ec6c09e9eeae41'
})
depends_on 'glibc' # R
def self.build
system "cc #{CREW_COMMON_FLAGS} crew-mvdir.c -o crew-mvdir"
end
def self.install
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
FileUtils.install 'crew-mvdir', "#{CREW_DEST_PREFIX}/bin/crew-mvdir", mode: 0o755
end
end