Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / 
packeth


Commits:
7d7f2161 by Jelle van der Waa at 2023-09-03T11:11:49+02:00
Package missing packETHcli binary

Also make the package build due to the use of -Werror.

Closes: FS#60460

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 
 pkgname=packeth
 pkgver=2.1
-pkgrel=2
+pkgrel=3
 pkgdesc='Linux GUI packet generator tool for ethernet'
 url='http://packeth.sourceforge.net/'
 arch=('x86_64')
@@ -23,11 +23,14 @@ build() {
   CFLAGS+=' -fcommon' # 
https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
   ./configure --prefix=/usr
   make
+  cd cli
+  make CFLAGS="$CFLAGS -Wall -Wunused -Wmissing-prototypes 
-Wmissing-declarations" LDFLAGS="$LDFLAGS"
 }
 
 package() {
   cd packETH-${pkgver}
   make DESTDIR="${pkgdir}" install
+  install -Dm 755 -t "${pkgdir}"/usr/bin cli/packETHcli
 }
 
 # vim: ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/packeth/-/commit/7d7f216138ae70efdf6ea881ac9dba2ef367f1f3

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/packeth/-/commit/7d7f216138ae70efdf6ea881ac9dba2ef367f1f3
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to