dos2unix: new version 7.4.2 and enforce link with gettext (#26371)
This commit is contained in:
parent
b96d836a72
commit
9e70fc630e
1 changed files with 11 additions and 0 deletions
|
@ -12,9 +12,20 @@ class Dos2unix(MakefilePackage):
|
|||
homepage = "https://waterlan.home.xs4all.nl/dos2unix.html"
|
||||
url = "https://waterlan.home.xs4all.nl/dos2unix/dos2unix-7.3.4.tar.gz"
|
||||
|
||||
maintainers = ['cessenat']
|
||||
|
||||
version('7.4.2', sha256='6035c58df6ea2832e868b599dfa0d60ad41ca3ecc8aa27822c4b7a9789d3ae01')
|
||||
version('7.3.4', sha256='8ccda7bbc5a2f903dafd95900abb5bf5e77a769b572ef25150fde4056c5f30c5')
|
||||
|
||||
depends_on('gettext')
|
||||
|
||||
@property
|
||||
def build_targets(self):
|
||||
targets = [
|
||||
'LDFLAGS_USER=-L{0} {1}'.format(
|
||||
self.spec['gettext'].prefix.lib, self.spec['gettext'].libs.link_flags),
|
||||
]
|
||||
return targets
|
||||
|
||||
def install(self, spec, prefix):
|
||||
make('prefix={0}'.format(prefix), 'install')
|
||||
|
|
Loading…
Reference in a new issue