# Contributor: Natanael Copa # Maintainer: Natanael Copa global pkgname := 'wipe' global pkgver := '2.3.1' global pkgrel := '0' global pkgdesc := '"Secure file wiping utility'" global url := '"http://wipe.sourceforge.net/'" global arch := '"all'" global license := '"GPL2'" global depends := ''"" global depends_dev := ''"" global makedepends := ""$depends_dev linux-headers"" global install := ''"" global subpackages := ""$pkgname-doc"" global source := ""http://downloads.sourceforge.net/$(pkgname)/$(pkgname)-$(pkgver).tar.bz2 stdint.patch "" global builddir := ""$srcdir"/wipe-$pkgver" proc prepare { update_config_sub default_prepare } proc build { cd $builddir env CPPFLAGS= ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man \ || return 1 make || return 1 } proc package { cd $builddir install -d "$pkgdir"/usr/bin make prefix="$pkgdir"/usr mandir="$pkgdir"/usr/share/man install || return 1 } global md5sums := '"3aed00711e0490edbec115bc283b8544 wipe-2.3.1.tar.bz2 41e5350b540d7e43efd21a4f1897300d stdint.patch'" global sha256sums := '"463916370f9b35bb34419c2c0ae3dc4c0a471db32e8595afa1d14c0337b61aa0 wipe-2.3.1.tar.bz2 331c9d8396116ce065bc33a634452bb792cc7aa2aecccaa099511c0e034ace1b stdint.patch'" global sha512sums := '"63870e68fa5dbf90abb686052f8dcc216ccb93b0c4f5cc10d60ccf43f3606ba91b46dc1e3d8b34d201f7ea657f70b45a61d5d04facf5b2a3e47d2286c46e7110 wipe-2.3.1.tar.bz2 05dab486c9bbe75f0abf3327aeaff9d720aa640f88fc664224cab471e21f65c6bb21115dcda72eaff31c80a3a9fe25b46b4e2283d8b93616a5161d377da44bd8 stdint.patch'" (CommandList children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgname) op:Equal rhs:{(wipe)} spids:[6])] spids: [6] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgver) op:Equal rhs:{(2.3.1)} spids:[9])] spids: [9] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgrel) op:Equal rhs:{(0)} spids:[12])] spids: [12] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgdesc) op: Equal rhs: {(DQ ("Secure file wiping utility"))} spids: [15] ) ] spids: [15] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:url) op: Equal rhs: {(DQ ("http://wipe.sourceforge.net/"))} spids: [20] ) ] spids: [20] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:arch) op:Equal rhs:{(DQ (all))} spids:[25])] spids: [25] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:license) op:Equal rhs:{(DQ (GPL2))} spids:[30])] spids: [30] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:depends) op:Equal rhs:{(DQ )} spids:[35])] spids: [35] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:depends_dev) op:Equal rhs:{(DQ )} spids:[39])] spids: [39] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:makedepends) op: Equal rhs: {(DQ ($ VSub_Name "$depends_dev") (" linux-headers"))} spids: [43] ) ] spids: [43] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:install) op:Equal rhs:{(DQ )} spids:[49])] spids: [49] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:subpackages) op: Equal rhs: {(DQ ($ VSub_Name "$pkgname") (-doc))} spids: [53] ) ] spids: [53] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source) op: Equal rhs: { (DQ ("http://downloads.sourceforge.net/") (${ VSub_Name pkgname) (/) (${ VSub_Name pkgname) (-) (${ VSub_Name pkgver) (".tar.bz2\n") ("\tstdint.patch\n") ("\t") ) } spids: [59] ) ] spids: [59] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:builddir) op: Equal rhs: {(DQ ($ VSub_Name "$srcdir")) (/wipe-) ($ VSub_Name "$pkgver")} spids: [79] ) ] spids: [79] ) (FuncDef name: prepare body: (BraceGroup children:[(C {(update_config_sub)})(C {(default_prepare)})] spids:[90]) spids: [86 89] ) (FuncDef name: build body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$builddir"))}) (AndOr children: [ (SimpleCommand words: [ {(./configure)} {(--build) (Lit_Other "=") ($ VSub_Name "$CBUILD")} {(--host) (Lit_Other "=") ($ VSub_Name "$CHOST")} {(--prefix) (Lit_Other "=") (/usr)} {(--mandir) (Lit_Other "=") (/usr/share/man)} ] more_env: [(env_pair name:CPPFLAGS val:{(SQ )} spids:[115])] ) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) (AndOr children: [(C {(make)}) (ControlFlow token: arg_word:{(1)})] op_id: Op_DPipe ) ] spids: [105] ) spids: [101 104] ) (FuncDef name: package body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$builddir"))}) (C {(install)} {(-d)} {(DQ ($ VSub_Name "$pkgdir")) (/usr/bin)}) (AndOr children: [ (C {(make)} {(Lit_VarLike "prefix=") (DQ ($ VSub_Name "$pkgdir")) (/usr)} {(Lit_VarLike "mandir=") (DQ ($ VSub_Name "$pkgdir")) (/usr/share/man)} {(install)} ) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) ] spids: [167] ) spids: [163 166] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:md5sums) op: Equal rhs: { (DQ ("3aed00711e0490edbec115bc283b8544 wipe-2.3.1.tar.bz2\n") ("41e5350b540d7e43efd21a4f1897300d stdint.patch") ) } spids: [212] ) ] spids: [212] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sha256sums) op: Equal rhs: { (DQ ( "463916370f9b35bb34419c2c0ae3dc4c0a471db32e8595afa1d14c0337b61aa0 wipe-2.3.1.tar.bz2\n" ) ("331c9d8396116ce065bc33a634452bb792cc7aa2aecccaa099511c0e034ace1b stdint.patch") ) } spids: [218] ) ] spids: [218] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sha512sums) op: Equal rhs: { (DQ ( "63870e68fa5dbf90abb686052f8dcc216ccb93b0c4f5cc10d60ccf43f3606ba91b46dc1e3d8b34d201f7ea657f70b45a61d5d04facf5b2a3e47d2286c46e7110 wipe-2.3.1.tar.bz2\n" ) ( "05dab486c9bbe75f0abf3327aeaff9d720aa640f88fc664224cab471e21f65c6bb21115dcda72eaff31c80a3a9fe25b46b4e2283d8b93616a5161d377da44bd8 stdint.patch" ) ) } spids: [224] ) ] spids: [224] ) ] )