relocate all packages with new group names from gentoo

This commit is contained in:
sulincix committed 2022-11-20 07:45:54 +00:00
1 parent 20645c750a
commit e133dbe26f
54 files changed
+42 -40

No files matched your search

+43
View File
@@ -0,0 +1,43 @@
#!/usr/bin/env bash
name=file
release=1
version=5.43
url='https://www.darwinsys.com/file/'
description="Identify a file's format by scanning binary data for patterns"
email='kurth4cker@tutanota.com'
maintainer='kurth4cker'
source=("http://ftp.astron.com/pub/file/file-${version}.tar.gz")
md5sums=('8effd70da368210a6c6eece037f978eb')
group=(sys.apps)
uses=(bzip2 lzma zlib seccomp)
zlib_depends=(zlib)
lzma_depends=(xz-utils)
bzip2_depends=(bzip2)
seccomp_depends=(libseccomp)
cd $name-$version
setup(){
opts=(
--prefix=/usr
--libdir=/usr/lib64
--enable-static
--enable-elf
--enable-elf-core
)
./configure ${opts[@]} \
$(use_opt zlib --enable-zlib --disable-zlib) \
$(use_opt lzma --enable-xzlib --disable-xzlib) \
$(use_opt bzip2 --enable-bzlib --disable-bzlib) \
$(use_opt seccomp --enable-libseccomp --disable-libseccomp)
}
build(){
make -j`nproc`
}
package(){
make install -j`nproc`
}